Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » JSP/XHTML on classpath triggers Tomcat Restart
JSP/XHTML on classpath triggers Tomcat Restart [message #642056] Mon, 29 November 2010 12:17 Go to next message
Tserb is currently offline Tserb
Messages: 3
Registered: November 2010
Junior Member
Hi all,

our WTP project is setup the way that xhtml files are to be found on the classpath. However in this case, if we publish to Tomcat, then it always wants to restart. This was not the case when XHTML files were not on the classpath.
How can I configure WTP/Tomcat to avoid this?

Thank you!
Re: JSP/XHTML on classpath triggers Tomcat Restart [message #645787 is a reply to message #642056] Mon, 20 December 2010 10:23 Go to previous messageGo to next message
Tserb is currently offline Tserb
Messages: 3
Registered: November 2010
Junior Member
BUMP.

Is there really nobody who could help with this?
Re: JSP/XHTML on classpath triggers Tomcat Restart [message #645993 is a reply to message #645787] Tue, 21 December 2010 08:46 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1305
Registered: July 2009
Senior Member
On 12/20/2010 10:23 AM, Tserb wrote:
> BUMP.
>
> Is there really nobody who could help with this?

The handling of classpath resources doesn't try to distinguish classes
from other resources and assumes any change requires a restart. You can
ignore the restart if you know the changed resource doesn't need a
restart to be served after publishing.

Cheers,
Larry
Re: JSP/XHTML on classpath triggers Tomcat Restart [message #646059 is a reply to message #642056] Tue, 21 December 2010 13:37 Go to previous messageGo to next message
Trung Nguyen is currently offline Trung Nguyen
Messages: 4
Registered: December 2010
Junior Member
Does your XHTML exist outside of the main webapp project, like in another dependent project? If so, eclipse will rebuild that project's jar and that needs a redeploy.
Re: JSP/XHTML on classpath triggers Tomcat Restart [message #646092 is a reply to message #642056] Tue, 21 December 2010 20:54 Go to previous message
Tserb is currently offline Tserb
Messages: 3
Registered: November 2010
Junior Member
Hi all,

thanks for your answers.

The resources are in the same project, not in a dependent one.

Thank you
Previous Topic:Unable to load JSP classes
Next Topic:Eclipse Web Service to communicate with SharePoint via WSDL file
Goto Forum:
  


Current Time: Fri Aug 22 11:58:01 EDT 2014

Powered by FUDForum. Page generated in 0.01694 seconds