Community
Participate
Working Groups
Build Identifier: 20110615-0604 Here in my company, we noticed a very annoying bug with Eclipse WTP server. We can reproduce it on various Eclipse version (Helios, Indigo...) and for various environments (windows 7 and Linux). The scenario to reproduce can be reproduced every time, but it is not the most annoying. The same symptoms appears randomly after server startup, while browsing web application, most of the time it will work correctly for the first hits but then it suddently breaks on a JSP. It also occurs sometimes on the first hit to a server being IDLE for few minutes. Any idea? Reproducible: Always Steps to Reproduce: Here is how to reproduce it. 1. set up a Tomcat server in Eclipse (tested with Tomcat 6.0.32 and 7) with : - Enabled "automatically publish when resources change" - Disabled "Auto Reload" for my module 2. Start the server in debug mode 3. Before doing any hit to the server, modify a source from the deployed module (.java) (in example add a white space or a comment) 4. Wait a few seconds for getting changes deployed to the server, then do a hit to the server 5. This hit breaks whole web application and results in a ClassNotFoundException, the JSP class is not found, like if it were not compiled correctly. Only way is to restart server. Here is the complete trace : http://pastebin.com/vNLEQrKH
Created attachment 205422 [details] Error trace
Just for information, this problem looks related to server publishing option : "Automatically publish when resources change". When using "Never publish automatically", it fixes the problem. But we have then to publish manually after modifying any resource.
This is a duplicate of https://bugs.eclipse.org/bugs/show_bug.cgi?id=334977. I've submitted a patch on that bug and am trying to get it reviewed and integrated