-
Bug
-
Resolution: Done
-
Major
-
JWS 3.0.1
-
None
ASF Bug 57626 - IllegalStateException: zip file closed
This exception occurs during the recompilation of JSPs at runtime. The exception is effectively an IllegalStateException, with message zip file is closed.
It appears that the probable cause of this issue is the fix applied to ensure that all JARs files gets properly closed to prevent resource leaks (SVN revision 1641056).
More concretely in JspCompilationContext, the method getLastModified() will use an already closed instance of the tagJar. This occurs when the JSP file gets recompiled, and thus not upon first compilation.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57626
http://svn.apache.org/r1662201