Opened 12 years ago
Closed 12 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 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Owner: | changed from everyone to Nicklas Nordborg |
Status: | new → assigned |
comment:2 Changed 12 years ago by
comment:3 Changed 12 years ago by
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