| Editing JSP requires Tomcat restart [message #511022] |
Fri, 29 January 2010 10:04  |
Dominic Messages: 1 Registered: January 2010 |
Junior Member |
|
|
This has started sometime recently that whenever I edit a JSP page the server entry shows "Debugging, Restart" as it's status, when previously the JSP files could be updated without needing to restart.
I haven't installed any new plugins.
Eclipse JEE Galileo with WTP JEE tools shows v3.1.1
Any ideas?
Thanks, Dominic.
|
|
|
|
|
| Re: Editing JSP requires Tomcat restart [message #511565 is a reply to message #511022] |
Mon, 01 February 2010 23:04   |
Sarika Sinha Messages: 38 Registered: February 2010 Location: Bangalore, India |
Member |
|
|
This can happen if the Server properties are set in auto publish mode. You can right click on server instance and open to verify if the "Auto Publish" is on? If it's on you can switch this off. This will stop the auto publishing after each change in jsp. Only when you say run on server it will be published.
Sarika Sinha
WTP Programmer
Source Editing
|
|
|
| Re: Editing JSP requires Tomcat restart [message #511696 is a reply to message #511565] |
Tue, 02 February 2010 05:00  |
Larry Isaacs Messages: 1261 Registered: July 2009 |
Senior Member |
|
|
Sarika Sinha wrote:
> This can happen if the Server properties are set in auto publish mode.
> You can right click on server instance and open to verify if the "Auto
> Publish" is on? If it's on you can switch this off. This will stop the
> auto publishing after each change in jsp. Only when you say run on
> server it will be published.
Changing just a JSP should not cause the Tomcat server to request a
restart, auto publish or not. It it does, it implies something else is
getting re-published along with the JSP, which may be unnecessary if
only the JSP changed. An effort has been made to avoid such
"re-publishes", when possible. As far as I know, all such
"re-publishes" have been addressed and fixed. However, if you are
seeing this behavior in the latest WTP, then we may have a bug. There
could be a new "re-publish" we need to address or an old "re-publish"
that inadvertently got un-fixed. To address, we would need to track
down exactly what it is in the projects involved that is triggering the
unnecessary "re-publish".
Cheers,
Larry
|
|
|
Powered by
FUDForum. Page generated in 0.11415 seconds