Hi Willie, ATM, the Cactus plugin works with the JBoss/Jetty combo. It has not been tested with JBoss/Tomcat and thus it is not supported. That said, I would be glad to add this support.
In your specific case, it means it is missing the tomcat jars in the classpath. FYI, the way we start jboss is with the following: <java jvm="${cactus.jvm}" classname="org.jboss.Main" fork="yes"> <jvmarg value="-Dprogram.name=${cactus.home.jboss3x}/bin/run.bat"/> <jvmarg value="- Djboss.server.home.dir=${cactus.home.jboss3x}/server/default"/> <jvmarg value="-Djboss.server.home.url=file:/ ${cactus.home.jboss3x}/server/default"/> <arg line="-c default"/> <classpath> <pathelement location="${cactus.home.jboss3x}/bin/run.jar"/> <pathelement path="${java.home}/../lib/tools.jar"/> </classpath> </java> (full script is located here: http://cvs.apache.org/viewcvs/jakarta- cactus/integration/ant/src/scripts/j2ee13/). Thanks -Vincent Quoting Willie Vu <[EMAIL PROTECTED]>: > I am trying to use cactus plugin with jboss-3.0.4_tomcat-4.1.12 to test > EJBs. I > keep running into the following error: > > [java] 17:47:42,245 ERROR [URLDeploymentScanner] Failed to deploy: > [EMAIL PROTECTED] > url=fil > e:/E:/java/jboss-3.0.4_tomcat-4.1.12/server/default/deploy/tomcat41- service.xml, > deployedLastModified=0 } > [java] org.jboss.deployment.DeploymentException: instantiating > org.jboss.web.catalina.EmbeddedCatalinaService41 failed: > java.lang.NoClassDefFoundE > rror: org/apache/catalina/Context; - nested throwable: > (RuntimeErrorException: > instantiating org.jboss.web.catalina.EmbeddedCatalinaService41 failed: > java.lang.NoClassDefFoundError: org/apache/catalina/Context > [java] Cause: java.lang.NoClassDefFoundError: > org/apache/catalina/Context) > [java] at > org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:155) > [java] at > org.jboss.system.ServiceController.install(ServiceController.java:225) > [java] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown > Source) > [java] at > sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.jav > a:25) > [java] at java.lang.reflect.Method.invoke(Method.java:324) > [java] at > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke (ReflectedMBeanDispatcher > .java:284) > > > Any idea? > > > -- > Willie Vu > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]