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=9204>.
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=9204

Can't run Tomcat on IBM JRE 1.3.1

           Summary: Can't run Tomcat on IBM JRE 1.3.1
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Catalina won't run on any IBM JREs from 1.3.1 and beyond. This is because the 
IBM JREs throw a ZIPException when you try to create a ZipFile pointing to an 
invalid location, while earlier IBM JREs and Sun's JREs do not. This occurs 
during the bootstrapping, when a /classes directory is added to the 
classloader's path. Since the exception is not caught, the server fails to 
start. See the stack trace below.

This exception does seem fairly reasonable, since it is not pointing to a zip 
file. Can the StandardClassLoader catch the exception as it tries to add each 
path to the repository, or verify that it is a zip file before it tried to load 
it?

java.util.zip.ZipException: Access is denied
       at java.util.zip.ZipFile.open(Native Method)
       at java.util.zip.ZipFile.<init>(ZipFile.java:127)
       at java.util.jar.JarFile.<init>(JarFile.java:138)
       at java.util.jar.JarFile.<init>(JarFile.java:80)
       at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal
(StandardClassLoader.java:1216)
       at org.apache.catalina.loader.StandardClassLoader.<init>
(StandardClassLoader.java:200)
       at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader
(ClassLoaderFactory.java:261)
       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:138)
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal: 
java.util.zip.ZipException: Access is denied
       at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal
(StandardClassLoader.java:1246)
       at org.apache.catalina.loader.StandardClassLoader.<init>
(StandardClassLoader.java:200)
       at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader
(ClassLoaderFactory.java:261)
       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:138)

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to