dev@jax-ws.java.net

Does cargo has a problem with Tomcat 5.5?

From: Rama Pulavarthi <Rama.Pulavarthi_at_Sun.COM>
Date: Wed, 01 Nov 2006 11:37:49 -0800

I am trying to use Embedded Tomcat Container with test-harness (jaxws-unit).
I get this exception. The classpath seems to be fine but could n't find
the class "org.apache.catalina.Connector"
Is it removed in recent versions of Tomcat?

Starting tomcat5x
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.xml.ws.test.Bootstrap.main(Bootstrap.java:61)
Caused by: org.codehaus.cargo.container.ContainerException: Failed to
start the
Tomcat 5.x Embedded container.
        at
org.codehaus.cargo.container.spi.AbstractLocalContainer.start(Abstrac
tLocalContainer.java:159)
        at
com.sun.xml.ws.test.container.cargo.AbstractRunnableCargoContainer.st
art(AbstractRunnableCargoContainer.java:29)
        at com.sun.xml.ws.test.Main.run(Main.java:218)
        at com.sun.xml.ws.test.Main.doMain(Main.java:177)
        at com.sun.xml.ws.test.Main.main(Main.java:165)
        ... 5 more
Caused by: java.lang.ClassNotFoundException: org.apache.catalina.Connector
        at
org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoa
der.java:1166)
        at
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:110
7)
        at
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:977
)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:242)
        at
org.codehaus.cargo.container.tomcat.internal.Tomcat5xEmbedded.<init>(
Tomcat5xEmbedded.java:120)
        at
org.codehaus.cargo.container.tomcat.Tomcat5xEmbeddedLocalContainer.do
Start(Tomcat5xEmbeddedLocalContainer.java:102)
        at
org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer.start
Internal(AbstractEmbeddedLocalContainer.java:59)
        at
org.codehaus.cargo.container.spi.AbstractLocalContainer.start(Abstrac
tLocalContainer.java:151)


thanks,
Rama Pulavarthi