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 2016/11/08 08:49:45 UTC
[Bug 60351] New: WAR unpacking creates META-INF/war-tracker file too
early after each unpacked file
https://bz.apache.org/bugzilla/show_bug.cgi?id=60351
Bug ID: 60351
Summary: WAR unpacking creates META-INF/war-tracker file too
early after each unpacked file
Product: Tomcat 8
Version: 8.5.x-trunk
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: dev@tomcat.apache.org
Reporter: harry.elfuerte@gmail.com
Target Milestone: ----
WAR unpacking creates META-INF/war-tracker file too early after each unpacked
file. Noticed this when Tomcat was killed while it was unpacking files. It
happily used the partially extracted files, and of course the application did
not work anymore.
https://svn.apache.org/repos/asf/tomcat/trunk/java/org/apache/catalina/startup/ExpandWar.java
Here you can see that warTracker file is created inside the unpacking loop,
right after each file:
// Create the warTracker file and align the last modified time
// with the last modified time of the WAR
warTracker.createNewFile();
warTracker.setLastModified(warLastModified);
}
success = true;
--
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
[Bug 60351] WAR unpacking creates META-INF/war-tracker file too
early after each unpacked file
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60351
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
OS| |All
--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Thanks for the report. This has been fixed in:
9.0.x for 9.0.0.M14 onwards
8.5.x for 8.5.9 onwards
8.0.x for 8.0.40 onwards
7.0.x and earlier is not affeted
--
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