geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Bartel <j...@mortbay.com>
Subject [classloaders] JarUrlConnection not working?
Date Sun, 07 Sep 2003 02:53:58 GMT

It appears that the JarUrlConnection class from the ClassWorld jar is 
stopping jetty loading it's DTD resources.

The following URL
 
jar:file:/home/janb/src/incubator-geronimo/target/geronimo-DEV/deploy/jetty/lib/jetty-SNAPSHOT.jar!/org/mortbay/xml/configure_1_2.dtd

produces the exception:

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:117)
         at java.util.jar.JarFile.<init>(JarFile.java:55)
         at 
org.codehaus.classworlds.protocol.jar.JarUrlConnection.getJarFile(JarUrlConnection.java:267)
         at 
org.mortbay.util.JarFileResource.newConnection(JarFileResource.java:80)
         at 
org.mortbay.util.JarResource.checkConnection(JarResource.java:41)
         at 
org.mortbay.util.JarFileResource.checkConnection(JarFileResource.java:48)
         at org.mortbay.util.JarFileResource.exists(JarFileResource.java:96)
         at 
org.mortbay.xml.XmlConfiguration.initParser(XmlConfiguration.java:66)
         at 
org.mortbay.xml.XmlConfiguration.<init>(XmlConfiguration.java:115)
         at org.mortbay.jetty.Server.<init>(Server.java:88)
         at org.apache.geronimo.web.hack.Jetty.<init>(Jetty.java:99)
         at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at 
mx4j.server.interceptor.InvokerMBeanServerInterceptor.instantiate(InvokerMBeanServerInterceptor.java:112)


Is there anybody local that knows about this class or should I approach 
the werken lists with a bug report?

cheers



Mime
View raw message