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 2004/02/04 17:54:20 UTC
DO NOT REPLY [Bug 26665] New: -
java.util.zip.ZipException: error in opening zip file.
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=26665>.
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=26665
java.util.zip.ZipException: error in opening zip file.
Summary: java.util.zip.ZipException: error in opening zip file.
Product: Tomcat 5
Version: 5.0.18
Platform: All
OS/Version: Windows NT/2K
Status: NEW
Severity: Critical
Priority: Other
Component: Native:Integration
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: john.chantrel@lawpro.ca
This bug is similar to 13331 and it is still unfixed!
I encountered this bug only on one NT server, strangely the other NT server was
just fine. For 6 month everything worked just fine and then out of the blue this
error started to appear. When attempting to start Tomcat 4.28 or 5.0.18 under
NT, startup fails with the below error:
java.util.zip.ZipException: error in opening zip file.
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:117)
at java.util.jar.JarFile.<init>(JarFile.java:55)
at
org.apache.catalina.loader.StandardClassLoader.
addRepositoryInternal(StandardClassLoader.java:1082)
at
org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:
200)
at
org.apache.catalina.startup.ClassLoaderFactory.
createClassLoader(ClassLoaderFactory.java:202)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140)
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal:
java.util.zip.ZipException: error in opening zip file
at
org.apache.catalina.loader.StandardClassLoader.
addRepositoryInternal(StandardClassLoader.java:1110)
at
org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:
200)
at
org.apache.catalina.startup.ClassLoaderFactory.
createClassLoader(ClassLoaderFactory.java:202)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140)
------------------------------------------------------------------------------
FYI: This is/was a bug in bootstrap.jar whereby the authors were assuming
directory names always end with a backslash. This is a bad assumption; they
should have used File.isDirectory() for this check.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org