You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/08/11 23:00:44 UTC

DO NOT REPLY [Bug 33453] Jasper should recompile JSP files whose datestamps change in either direction (not just newer)

https://issues.apache.org/bugzilla/show_bug.cgi?id=33453





--- Comment #65 from Luis Naver <ap...@dfgh.net>  2008-08-11 14:00:43 PST ---
I just got bit by this bug and lost a good part of my day trying to locate it. 
I have tomcat on my development machine (winXP) configured to UTC and the
machine itself is set for PST. 

Here's the procedure

 * make a change to my source jsp
 * war it up
 * stop tomcat
 * delete the existing war and webapps folder
 * copy the new war into the webapps dir
 * start tomcat

The problem:
Tomcat will expand the war however the last modified date on the jsp file will
be adjusted (incorrectly?) to 8 hrs earlier.  As the previous change was
compiled less than 8hrs ago the jsp is not recompiled and the outdated .java
and .class files remain in the work\Catalina\localhost directory.  The result
is my changes are not reflected.

For now I will delete the work directory at the same time I delete the old war
file.  This way at least, as a developer, I know that what tomcat is serving is
my most recent code.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org