I suggest you just use run:main as it doesn't use the classworld stuff.
I want to get rid of the classworld stuff.
-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(JarUr
lConnection.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:4
8)
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(NativeConstructor
AccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCon
structorAccessorImpl.java:27)
at
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at
mx4j.server.interceptor.InvokerMBeanServerInterceptor.instantiate(Invok
erMBeanServerInterceptor.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
*************************/