geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@coredevelopers.net>
Subject Re: [classloaders] JarUrlConnection not working?
Date Sun, 07 Sep 2003 09:10:48 GMT
> I suggest you just use run:main as it doesn't use the classworld  
> stuff.  I want to get rid of the classworld stuff.

Classworlds is your friend... just need to configure her to know about  
shite.  The current setup is whacked I must admit, put that together  
quick just to make it work, but now that things have changed & actually  
deploying thingys needs to be revisited.

--jason


--jason


> -dain
>
> On Saturday, September 6, 2003, at 09:53 PM, Jan Bartel wrote:
>
>>
>> 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(JarU 
>> rlConnection.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(NativeConstructo 
>> rAccessorImpl.java:39)
>>         at  
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo 
>> nstructorAccessorImpl.java:27)
>>         at  
>> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>>         at  
>> mx4j.server.interceptor.InvokerMBeanServerInterceptor.instantiate(Invo 
>> kerMBeanServerInterceptor.java:112)
>>
>>
>> Is there anybody local that knows about this class or should I  
>> approach the werken lists with a bug report?
>>
>> cheers
>>
>>
>>
>
> /*************************
>  * Dain Sundstrom
>  * Partner
>  * Core Developers Network
>  *************************/
>


Mime
View raw message