You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Willie Vu <wi...@yahoo.com> on 2003/03/28 13:19:58 UTC

Subject: Problem with Cactus and jboss-3.0.4_tomcat-4.1.12

I am trying to use Maven 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:
org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@1b5dd645
{
url=file:/E:/java/jboss-3.0.4_tomcat-4.1.12/server/default/deploy/tomcat41-s
ervice.xml,
deployedLastModified=0 }
   [java] org.jboss.deployment.DeploymentException: instantiating
org.jboss.web.catalina.EmbeddedCatalinaService41
failed:java.lang.NoClassDefFoundError: orinstantiating
org.jboss.web.catalina.EmbeddedCatalinaService41
failed:java.lang.NoClassDefFoundError: or
   [java] Cause:
java.lang.NoClassDefFoundError: or
   [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.java:25)
   [java]      at java.lang.reflect.Method.invoke(Method.java:324)
   [java]      at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)


Any idea?


--
Willie Vu


RE: Subject: Problem with Cactus and jboss-3.0.4_tomcat-4.1.12

Posted by Vincent Massol <vm...@pivolis.com>.
Applied. Thanks.

-Vincent

> -----Original Message-----
> From: Willie Vu [mailto:willievu@yahoo.com]
> Sent: 01 April 2003 04:52
> To: 'Cactus Users List'
> Subject: RE: Subject: Problem with Cactus and
jboss-3.0.4_tomcat-4.1.12
> 
> Vincent,
> 
> Attached is a patch to add Jboss/Tomcat support.  Basically, we just
need
> to set
> the working directory when Jboss is started.
> 
> -        <java jvm="${cactus.jvm}" classname="org.jboss.Main"
fork="yes">
> +		<java jvm="${cactus.jvm}" classname="org.jboss.Main"
> fork="yes"
> +			dir="${cactus.home.jboss3x}/bin">
> 
> 
> --
> Willie Vu
> 
> 
> > -----Original Message-----
> > From: Vincent Massol [mailto:vmassol@pivolis.com]
> > Sent: Sunday, March 30, 2003 5:02
> > To: 'Cactus Users List'
> > Cc: willievu@yahoo.com
> > Subject: RE: Subject: Problem with Cactus and
> > jboss-3.0.4_tomcat-4.1.12
> >
> >
> > The currently supported Jboss integration is the Jboss/Jetty.
> > There is a TODO item for supporting the JBoss/Tomcat. Feel
> > free to send a patch.
> >
> > Thanks
> > -Vincent
> >
> > PS: I think I have already answered to you on the Maven
> > mailing list...
> >
> > > -----Original Message-----
> > > From: Willie Vu [mailto:willievu@yahoo.com]
> > > Sent: 28 March 2003 13:20
> > > To: cactus-user@jakarta.apache.org
> > > Subject: Subject: Problem with Cactus and
jboss-3.0.4_tomcat-4.1.12
> > >
> > > I am trying to use Maven 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:
> > >
> >
org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@1b5dd645
> > > {
> > > url=file:/E:/java/jboss-3.0.4_tomcat-
> > > 4.1.12/server/default/deploy/tomcat41-s
> > > ervice.xml,
> > > deployedLastModified=0 }
> > >    [java] org.jboss.deployment.DeploymentException: instantiating
> > > org.jboss.web.catalina.EmbeddedCatalinaService41
> > > failed:java.lang.NoClassDefFoundError: orinstantiating
> > > org.jboss.web.catalina.EmbeddedCatalinaService41
> > > failed:java.lang.NoClassDefFoundError: or
> > >    [java] Cause:
> > > java.lang.NoClassDefFoundError: or
> > >    [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.java:25)
> > >    [java]      at java.lang.reflect.Method.invoke(Method.java:324)
> > >    [java]      at
> > >
> > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Reflec
> tedMBeanDi
> > sp
> > > at
> > > cher.java:284)
> > >
> > >
> > > Any idea?
> > >
> > >
> > > --
> > > Willie Vu
> > >
> > >
> > >
> >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
cactus-user-help@jakarta.apache.org
> >
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> >
> >


RE: Subject: Problem with Cactus and jboss-3.0.4_tomcat-4.1.12

Posted by Willie Vu <wi...@yahoo.com>.
Vincent,

Attached is a patch to add Jboss/Tomcat support.  Basically, we just need to set
the working directory when Jboss is started.

-        <java jvm="${cactus.jvm}" classname="org.jboss.Main" fork="yes">
+		<java jvm="${cactus.jvm}" classname="org.jboss.Main" fork="yes"
+			dir="${cactus.home.jboss3x}/bin">


--
Willie Vu


> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@pivolis.com] 
> Sent: Sunday, March 30, 2003 5:02
> To: 'Cactus Users List'
> Cc: willievu@yahoo.com
> Subject: RE: Subject: Problem with Cactus and 
> jboss-3.0.4_tomcat-4.1.12
> 
> 
> The currently supported Jboss integration is the Jboss/Jetty. 
> There is a TODO item for supporting the JBoss/Tomcat. Feel 
> free to send a patch.
> 
> Thanks
> -Vincent
> 
> PS: I think I have already answered to you on the Maven 
> mailing list...
> 
> > -----Original Message-----
> > From: Willie Vu [mailto:willievu@yahoo.com]
> > Sent: 28 March 2003 13:20
> > To: cactus-user@jakarta.apache.org
> > Subject: Subject: Problem with Cactus and jboss-3.0.4_tomcat-4.1.12
> > 
> > I am trying to use Maven 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: 
> > 
> org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@1b5dd645
> > {
> > url=file:/E:/java/jboss-3.0.4_tomcat-
> > 4.1.12/server/default/deploy/tomcat41-s
> > ervice.xml,
> > deployedLastModified=0 }
> >    [java] org.jboss.deployment.DeploymentException: instantiating 
> > org.jboss.web.catalina.EmbeddedCatalinaService41
> > failed:java.lang.NoClassDefFoundError: orinstantiating 
> > org.jboss.web.catalina.EmbeddedCatalinaService41
> > failed:java.lang.NoClassDefFoundError: or
> >    [java] Cause:
> > java.lang.NoClassDefFoundError: or
> >    [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.java:25)
> >    [java]      at java.lang.reflect.Method.invoke(Method.java:324)
> >    [java]      at
> >
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Reflec
tedMBeanDi
> sp
> > at
> > cher.java:284)
> > 
> > 
> > Any idea?
> > 
> > 
> > --
> > Willie Vu
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 

RE: Subject: Problem with Cactus and jboss-3.0.4_tomcat-4.1.12

Posted by Vincent Massol <vm...@pivolis.com>.

> -----Original Message-----
> From: Willie Vu [mailto:ctwillie@ust.hk]
> Sent: 31 March 2003 03:13
> To: 'Cactus Users List'
> Subject: RE: Subject: Problem with Cactus and
jboss-3.0.4_tomcat-4.1.12
> 
> Vincent,
> 
> Can you give me some pointers to add Jboss/Tomcat support?

Have a look at
http://cvs.apache.org/viewcvs/jakarta-cactus/integration/ant/src/scripts
/j2ee13/build-tests-jboss3x.xml

Thanks
-Vincent

> 
> --
> Willie Vu
> 
> 
> 
> > -----Original Message-----
> > From: Vincent Massol [mailto:vmassol@pivolis.com]
> > Sent: Sunday, March 30, 2003 5:02
> > To: 'Cactus Users List'
> > Cc: willievu@yahoo.com
> > Subject: RE: Subject: Problem with Cactus and
> > jboss-3.0.4_tomcat-4.1.12
> >
> >
> > The currently supported Jboss integration is the Jboss/Jetty.
> > There is a TODO item for supporting the JBoss/Tomcat. Feel
> > free to send a patch.
> >
> > Thanks
> > -Vincent
> >
> > PS: I think I have already answered to you on the Maven
> > mailing list...
> >
> > > -----Original Message-----
> > > From: Willie Vu [mailto:willievu@yahoo.com]
> > > Sent: 28 March 2003 13:20
> > > To: cactus-user@jakarta.apache.org
> > > Subject: Subject: Problem with Cactus and
jboss-3.0.4_tomcat-4.1.12
> > >
> > > I am trying to use Maven 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:
> > >
> >
org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@1b5dd645
> > > {
> > > url=file:/E:/java/jboss-3.0.4_tomcat-
> > > 4.1.12/server/default/deploy/tomcat41-s
> > > ervice.xml,
> > > deployedLastModified=0 }
> > >    [java] org.jboss.deployment.DeploymentException: instantiating
> > > org.jboss.web.catalina.EmbeddedCatalinaService41
> > > failed:java.lang.NoClassDefFoundError: orinstantiating
> > > org.jboss.web.catalina.EmbeddedCatalinaService41
> > > failed:java.lang.NoClassDefFoundError: or
> > >    [java] Cause:
> > > java.lang.NoClassDefFoundError: or
> > >    [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.java:25)
> > >    [java]      at java.lang.reflect.Method.invoke(Method.java:324)
> > >    [java]      at
> > >
> > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Reflec
> tedMBeanDi
> > sp
> > > at
> > > cher.java:284)
> > >
> > >
> > > Any idea?
> > >
> > >
> > > --
> > > Willie Vu
> > >
> > >
> > >
> >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
cactus-user-help@jakarta.apache.org
> >
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



RE: Subject: Problem with Cactus and jboss-3.0.4_tomcat-4.1.12

Posted by Willie Vu <ct...@ust.hk>.
Vincent,

Can you give me some pointers to add Jboss/Tomcat support?

--
Willie Vu
 


> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@pivolis.com] 
> Sent: Sunday, March 30, 2003 5:02
> To: 'Cactus Users List'
> Cc: willievu@yahoo.com
> Subject: RE: Subject: Problem with Cactus and 
> jboss-3.0.4_tomcat-4.1.12
> 
> 
> The currently supported Jboss integration is the Jboss/Jetty. 
> There is a TODO item for supporting the JBoss/Tomcat. Feel 
> free to send a patch.
> 
> Thanks
> -Vincent
> 
> PS: I think I have already answered to you on the Maven 
> mailing list...
> 
> > -----Original Message-----
> > From: Willie Vu [mailto:willievu@yahoo.com]
> > Sent: 28 March 2003 13:20
> > To: cactus-user@jakarta.apache.org
> > Subject: Subject: Problem with Cactus and jboss-3.0.4_tomcat-4.1.12
> > 
> > I am trying to use Maven 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: 
> > 
> org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@1b5dd645
> > {
> > url=file:/E:/java/jboss-3.0.4_tomcat-
> > 4.1.12/server/default/deploy/tomcat41-s
> > ervice.xml,
> > deployedLastModified=0 }
> >    [java] org.jboss.deployment.DeploymentException: instantiating 
> > org.jboss.web.catalina.EmbeddedCatalinaService41
> > failed:java.lang.NoClassDefFoundError: orinstantiating 
> > org.jboss.web.catalina.EmbeddedCatalinaService41
> > failed:java.lang.NoClassDefFoundError: or
> >    [java] Cause:
> > java.lang.NoClassDefFoundError: or
> >    [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.java:25)
> >    [java]      at java.lang.reflect.Method.invoke(Method.java:324)
> >    [java]      at
> >
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Reflec
tedMBeanDi
> sp
> > at
> > cher.java:284)
> > 
> > 
> > Any idea?
> > 
> > 
> > --
> > Willie Vu
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 


RE: Subject: Problem with Cactus and jboss-3.0.4_tomcat-4.1.12

Posted by Vincent Massol <vm...@pivolis.com>.
The currently supported Jboss integration is the Jboss/Jetty. There is a
TODO item for supporting the JBoss/Tomcat. Feel free to send a patch.

Thanks
-Vincent

PS: I think I have already answered to you on the Maven mailing list...

> -----Original Message-----
> From: Willie Vu [mailto:willievu@yahoo.com]
> Sent: 28 March 2003 13:20
> To: cactus-user@jakarta.apache.org
> Subject: Subject: Problem with Cactus and jboss-3.0.4_tomcat-4.1.12
> 
> I am trying to use Maven 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:
> org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@1b5dd645
> {
> url=file:/E:/java/jboss-3.0.4_tomcat-
> 4.1.12/server/default/deploy/tomcat41-s
> ervice.xml,
> deployedLastModified=0 }
>    [java] org.jboss.deployment.DeploymentException: instantiating
> org.jboss.web.catalina.EmbeddedCatalinaService41
> failed:java.lang.NoClassDefFoundError: orinstantiating
> org.jboss.web.catalina.EmbeddedCatalinaService41
> failed:java.lang.NoClassDefFoundError: or
>    [java] Cause:
> java.lang.NoClassDefFoundError: or
>    [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.java:25)
>    [java]      at java.lang.reflect.Method.invoke(Method.java:324)
>    [java]      at
>
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi
sp
> at
> cher.java:284)
> 
> 
> Any idea?
> 
> 
> --
> Willie Vu
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org