DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5908>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5908 java.lang.IllegalStateException: zip file closed Summary: java.lang.IllegalStateException: zip file closed Product: Tomcat 4 Version: 4.0.1 Final Platform: All OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Occurs when attempting to use the manager servlet to redeploy a zip file, This is also commented in the code at the end of the expand method as '// FIXME - doesn't remove from cache!!!' (line 965) To Fix this modify this line (line 940) JarFile jarFile = ((JarURLConnection)war.openConnection()).getJarFile(); to be JarURLConnection juc=(JarURLConnection)war.openConnection(); juc.setUseCaches(false); JarFile jarFile = juc.getJarFile(); This seems to allow the jarfile to be opened more then once. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>