'Auto Reload' on Tomcat in WTP doesn't seem to work [message #159770] |
Wed, 08 February 2006 17:51  |
Eclipse User |
|
|
|
Originally posted by: mboerger.decommunications.com
I have just started working with a project on eclipse.
After my first edits, deployment went fairly smoothly; however, when I
made changes to my files, and re-published them to the web server, the
old code seemed to persist on the server.
This was true even when:
I checked, and saw that 'Auto Reload' was set to enabled for the server.
I stopped and restarted the server.
I stopped the server, rebuilt the project, and re-ran the affected JSP.
I ultimately found that I could force the server to refresh the jsp, by
removing the project from the server, and then re-adding it, but that
seems lees than ideal with a large project.
Can anyone tell me if/how I can force the server to recompile a single
updated JSP?
|
|
|
Re: 'Auto Reload' on Tomcat in WTP doesn't seem to work [message #165239 is a reply to message #159770] |
Tue, 28 March 2006 17:25  |
Eclipse User |
|
|
|
I was able to solve this problem by checking the "Automatically publish to local servers" box in the "Preferences" dialog.
Window > Preferences > Server > Automatically publish to local servers
I am not 100% sure this is what solved the problem because after I had tried playing around with the server configuration, my server would no longer start and I had to remove the old server and create a new one. Give it a try.
|
|
|
Powered by
FUDForum. Page generated in 0.03482 seconds