Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » JSP/XHTML on classpath triggers Tomcat Restart
JSP/XHTML on classpath triggers Tomcat Restart [message #642056] Mon, 29 November 2010 17:17 Go to next message
Tserb is currently offline TserbFriend
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 15:23 Go to previous messageGo to next message
Tserb is currently offline TserbFriend
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 13:46 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
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 18:37 Go to previous messageGo to next message
Trung Nguyen is currently offline Trung NguyenFriend
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] Wed, 22 December 2010 01:54 Go to previous message
Tserb is currently offline TserbFriend
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: Thu Apr 25 16:09:35 GMT 2024

Powered by FUDForum. Page generated in 0.03190 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top