DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31624>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31624
Incomplete error message: java.util.zip.ZipException: No such file or directory
Summary: Incomplete error message: java.util.zip.ZipException: No
such file or directory
Product: Tomcat 5
Version: 5.0.27
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: minfrin@sharp.fm
On startup, tomcat bombs out like so:
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal
at
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:957)
at
org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:153)
at
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:189)
at
org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:160)
at
org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:104)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:193)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:399)
Caused by: 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)
at java.util.jar.JarFile.<init>(JarFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:65)
at
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:944)
... 6 more
The reason for the error is a missing jar file.
Of course the mystery remains as to WHICH jar file, because the error message
above neglects to mention which jar file.
This leaves the user with the following options:
- Spend hours randomly shooting in the dark trying to find which jar is missing
- Spend hours setting up tomcat in a debugging environment to set a breakpoint
so that it can be seen which jar is missing.
The fix: Include the name of the jar file in the error message.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
|