I have a folder called myjsp in witch I have many jsp pages. I often make changes to these jsp pages and copy folder myjsp to many servers (Tomcat 5 and Tomcat 6).
SOME of these Tomcat would fail to detect my changes. All tomcat are configured the same way. Reload is set to true.
Although I could delete Tomcat/work folder to force jsp reload but I think Tomcat is supposed to detect the changes.
BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design
Tomcat doesn't detect the changes instantly. It scans the directory and context file periodically and applies changes it finds. You might not be waiting long enough for Tomcat's scanning cycle to kick in.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Sep 20, 2001
I tracked it down. Example:
I had a JSP dated 7/1/2009. I sent it to the user. He got it and did not use it till 8/1/2009. I changed the JSP on 7/15 and sent it to the user on 8/5. The 7/15 version will not be compiled because the servlet has a date of 8/1 witch is newer than the JSP date of 7/15.