Opened 13 years ago
Closed 13 years ago
#1670 closed defect (fixed)
Extensions installer should set current date+time on extracted files
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | critical | Milestone: | BASE 3.1 |
Component: | web | Version: | |
Keywords: | Cc: |
Description (last modified by )
The current implementation set the file date to the last modified date found in the JAR file. The problem is that this approach may cause Tomcat to not detect file changes since the compiled class in the work-directory may have a newer date (for example, due to a server restart).
One workaround is to always restart Tomcat after updating an extension. Another option is to manually 'touch' the JSP files belonging to the extension. Something like:
cd <base-dir>/www/extensions/foo.jar touch *.jsp
Change History (3)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 13 years ago
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
This issue was reported as a Tomcat bug a long time ago, but not fixed until Tomcat 7.0.17. For more information see: https://issues.apache.org/bugzilla/show_bug.cgi?id=33453