tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21220] New: - java.util.zip.ZipException on Tomcat boot is less than helpful
Date Tue, 01 Jul 2003 12:37:53 GMT
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=21220>.
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=21220

java.util.zip.ZipException on Tomcat boot is less than helpful

           Summary: java.util.zip.ZipException on Tomcat boot is less than
                    helpful
           Product: Tomcat 4
           Version: 4.1.25
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: d.tonhofer@m-plify.com


java.util.zip.ZipException: No such file or directory
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:112)Bootstrap: Class loader
creation threw exception

        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:141)
It sometimes happens that we get a ZipException during Tomcat boot,like so:

java.lang.IllegalArgumentException: addRepositoryInternal:
java.util.zip.ZipException: No such file or directory
        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:141)

This means that a jar is corrupted or a symlink to a jar has gone stale etc.

It would be helpful to make Tomcat say exactly *what* jar it just tried to load.
Patching Tomcat helped me find a bad jar in no time...

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message