JBoss 7.0.1 and Activiti-Rest

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2011 07:01 AM
Hi,
is anyone successful deploy Activiti-Rest on JBoss 7.0.1
i got following exceptions in server.log
is anyone successful deploy Activiti-Rest on JBoss 7.0.1
i got following exceptions in server.log
06:50:20,856 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found activiti-rest.war in deployment directory. To trigger deployment create a file called activiti-rest.war.dodeploy06:50:45,880 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "activiti-rest.war"06:50:49,254 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jaxb-api.jar in "/opt/torquebox/jboss/standalone/deployments/activiti-rest.war/WEB-INF/lib/jaxb-impl-2.1.7.jar" does not point to a valid jar for a Class-Path reference.06:50:49,256 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry activation.jar in "/opt/torquebox/jboss/standalone/deployments/activiti-rest.war/WEB-INF/lib/jaxb-impl-2.1.7.jar" does not point to a valid jar for a Class-Path reference.06:50:49,258 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jsr173_1.0_api.jar in "/opt/torquebox/jboss/standalone/deployments/activiti-rest.war/WEB-INF/lib/jaxb-impl-2.1.7.jar" does not point to a valid jar for a Class-Path reference.06:50:49,260 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jaxb1-impl.jar in "/opt/torquebox/jboss/standalone/deployments/activiti-rest.war/WEB-INF/lib/jaxb-impl-2.1.7.jar" does not point to a valid jar for a Class-Path reference.06:50:49,262 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry activation.jar in "/opt/torquebox/jboss/standalone/deployments/activiti-rest.war/WEB-INF/lib/mail-1.4.1.jar" does not point to a valid jar for a Class-Path reference.06:50:49,264 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jaxb-api.jar in "/opt/torquebox/jboss/standalone/deployments/activiti-rest.war/WEB-INF/lib/jaxb-xjc-2.1.7.jar" does not point to a valid jar for a Class-Path reference.06:50:49,267 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jaxb-impl.jar in "/opt/torquebox/jboss/standalone/deployments/activiti-rest.war/WEB-INF/lib/jaxb-xjc-2.1.7.jar" does not point to a valid jar for a Class-Path reference.06:50:49,271 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jsr173_1.0_api.jar in "/opt/torquebox/jboss/standalone/deployments/activiti-rest.war/WEB-INF/lib/jaxb-xjc-2.1.7.jar" does not point to a valid jar for a Class-Path reference.06:50:49,273 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry activation.jar in "/opt/torquebox/jboss/standalone/deployments/activiti-rest.war/WEB-INF/lib/jaxb-xjc-2.1.7.jar" does not point to a valid jar for a Class-Path reference.06:50:49,737 INFO [org.jboss.wsf.stack.cxf.metadata.MetadataBuilder] (MSC service thread 1-2) Add Service id=org.activiti.engine.impl.webservice.experimental.RuntimeWebServiceImpl address=http://192.168.56.101:8080/activiti-rest/RuntimeWebServiceImpl implementor=org.activiti.engine.impl.webservice.experimental.RuntimeWebServiceImpl invoker=org.jboss.wsf.stack.cxf.JBossWSInvoker serviceName={http://experimental.webservice.impl.engine.activiti.org/}RuntimeWebServiceImplService portName={http://experimental.webservice.impl.engine.activiti.org/}RuntimeWebServiceImplPort wsdlLocation=null mtomEnabled=false06:50:49,763 INFO [org.jboss.ws.common.management.DefaultEndpointRegistry] (MSC service thread 1-2) register: jboss.ws:context=activiti-rest,endpoint=org.activiti.engine.impl.webservice.experimental.RuntimeWebServiceImpl06:50:49,822 INFO [org.jboss.ws.common.management.DefaultEndpointRegistry] (MSC service thread 1-2) remove: jboss.ws:context=activiti-rest,endpoint=org.activiti.engine.impl.webservice.experimental.RuntimeWebServiceImpl06:50:49,845 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."activiti-rest.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."activiti-rest.war".INSTALL: Failed to process phase INSTALL of deployment "activiti-rest.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.Beta1.jar:] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [:1.6.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [:1.6.0_25] at java.lang.Thread.run(Unknown Source) [:1.6.0_25]Caused by: java.lang.RuntimeException: java.lang.InstantiationException: org.activiti.engine.impl.webservice.experimental.RuntimeWebServiceImpl at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.newInstance(NonSpringBusHolder.java:174) at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(NonSpringBusHolder.java:96) at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:109) at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:132) at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:74) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.Beta1.jar:] … 5 moreCaused by: java.lang.InstantiationException: org.activiti.engine.impl.webservice.experimental.RuntimeWebServiceImpl at java.lang.Class.newInstance0(Unknown Source) [:1.6.0_25] at java.lang.Class.newInstance(Unknown Source) [:1.6.0_25] at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.newInstance(NonSpringBusHolder.java:170) … 10 more06:50:50,102 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 1) Deployment of "activiti-rest.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"activiti-rest.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"activiti-rest.war\".INSTALL: Failed to process phase INSTALL of deployment \"activiti-rest.war\""}}06:50:50,429 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment activiti-rest.war in 327ms06:50:50,433 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 1) JBAS014774: Service status reportJBAS014777: Services which failed to start: service jboss.deployment.unit."activiti-rest.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."activiti-rest.war".INSTALL: Failed to process phase INSTALL of deployment "activiti-rest.war"06:50:50,437 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"activiti-rest.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"activiti-rest.war\".INSTALL: Failed to process phase INSTALL of deployment \"activiti-rest.war\""}}}}
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2012 12:35 PM
I'm wondering the same thing except for jboss 7.1.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2012 01:33 PM
Hi mpgong and bidek,
have you tried removing the activiti-cxf.jar from the WEB-INF/lib folder of the webapp?
have you tried removing the activiti-cxf.jar from the WEB-INF/lib folder of the webapp?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2016 05:17 AM
still got the same error after remove activiti-cxf.jar, BTW, i use activiti 5.17
<code>
17:14:08,163 INFO [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]
(MSC service thread 1-1) Found 1 Process Engine Configurators in total:
17:14:08,165 INFO [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]
(MSC service thread 1-1) class org.activiti.management.jmx.JMXConfigurator (pri
ority:10000)
17:14:08,168 INFO [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]
(MSC service thread 1-1) Executing beforeInit() of class org.activiti.managemen
t.jmx.JMXConfigurator (priority:10000)
17:14:09,135 INFO [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]
(MSC service thread 1-1) Executing configure() of class org.activiti.management
.jmx.JMXConfigurator (priority:10000)
17:14:09,142 ERROR [stderr] (jmxConnectorStarterThread) Exception in thread "jmx
ConnectorStarterThread" java.lang.UnsupportedOperationException: JBAS011859: Nam
ing context is read-only
17:14:09,146 ERROR [stderr] (jmxConnectorStarterThread) at org.jboss.as.
naming.WritableServiceBasedNamingStore.requireOwner(WritableServiceBasedNamingSt
ore.java:126)
17:14:09,149 ERROR [stderr] (jmxConnectorStarterThread) at org.jboss.as.
naming.WritableServiceBasedNamingStore.bind(WritableServiceBasedNamingStore.java
:56)
17:14:09,153 ERROR [stderr] (jmxConnectorStarterThread) at org.jboss.as.
naming.NamingContext.bind(NamingContext.java:221)
17:14:09,154 ERROR [stderr] (jmxConnectorStarterThread) at org.jboss.as.
naming.InitialContext.bind(InitialContext.java:161)
17:14:09,159 ERROR [stderr] (jmxConnectorStarterThread) at org.jboss.as.
naming.NamingContext.bind(NamingContext.java:230)
17:14:09,161 ERROR [stderr] (jmxConnectorStarterThread) at javax.naming.
InitialContext.bind(InitialContext.java:419)
17:14:09,163 ERROR [stderr] (jmxConnectorStarterThread) at javax.managem
ent.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:643)
17:14:09,166 ERROR [stderr] (jmxConnectorStarterThread) at javax.managem
ent.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:426)
17:14:09,168 ERROR [stderr] (jmxConnectorStarterThread) at org.activiti.
management.jmx.DefaultManagementAgent$1.run(DefaultManagementAgent.java:224)
17:14:09,170 ERROR [stderr] (jmxConnectorStarterThread) at java.lang.Thr
ead.run(Thread.java:745)
17:14:09,172 INFO [org.activiti.engine.impl.ProcessEngineImpl] (MSC service thr
ead 1-1) ProcessEngine default created
17:14:09,176 INFO [org.activiti.engine.ProcessEngines] (MSC service thread 1-1)
initialised process engine default
17:14:09,196 ERROR [org.apache.catalina.core.StandardContext] (MSC service threa
d 1-8) Context [/sea] startup failed due to previous errors: ja
va.lang.IllegalArgumentException: Child container with name default already exis
ts
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:804) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:79
2) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContext.addChild(StandardContext.jav
a:1878) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.deployment.JBossContextConfig.processWebMetaData(JBo
ssContextConfig.java:438) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.web.deployment.JBossContextConfig.applicationWebConfig(J
BossContextConfig.java:169) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:41
7) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:182) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.deployment.JBossContextConfig.lifecycleEvent(JBossCo
ntextConfig.java:162) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:115) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
790) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentS
ervice.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se
rviceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont
rollerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1145) [rt.jar:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615) [rt.jar:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
17:14:09,224 ERROR [org.apache.catalina.core.StandardContext] (MSC service threa
d 1-8) Context [/sea] startup failed due to previous errors
17:14:09,227 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC0000
1: Failed to start service jboss.web.deployment.default-host./sealmachine-standa
rd: org.jboss.msc.service.StartException in service jboss.web.deployment.default
-host./sea: JBAS018040: Failed to start context
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentS
ervice.java:95)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se
rviceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont
rollerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1145) [rt.jar:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615) [rt.jar:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
<code>
<code>
17:14:08,163 INFO [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]
(MSC service thread 1-1) Found 1 Process Engine Configurators in total:
17:14:08,165 INFO [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]
(MSC service thread 1-1) class org.activiti.management.jmx.JMXConfigurator (pri
ority:10000)
17:14:08,168 INFO [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]
(MSC service thread 1-1) Executing beforeInit() of class org.activiti.managemen
t.jmx.JMXConfigurator (priority:10000)
17:14:09,135 INFO [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]
(MSC service thread 1-1) Executing configure() of class org.activiti.management
.jmx.JMXConfigurator (priority:10000)
17:14:09,142 ERROR [stderr] (jmxConnectorStarterThread) Exception in thread "jmx
ConnectorStarterThread" java.lang.UnsupportedOperationException: JBAS011859: Nam
ing context is read-only
17:14:09,146 ERROR [stderr] (jmxConnectorStarterThread) at org.jboss.as.
naming.WritableServiceBasedNamingStore.requireOwner(WritableServiceBasedNamingSt
ore.java:126)
17:14:09,149 ERROR [stderr] (jmxConnectorStarterThread) at org.jboss.as.
naming.WritableServiceBasedNamingStore.bind(WritableServiceBasedNamingStore.java
:56)
17:14:09,153 ERROR [stderr] (jmxConnectorStarterThread) at org.jboss.as.
naming.NamingContext.bind(NamingContext.java:221)
17:14:09,154 ERROR [stderr] (jmxConnectorStarterThread) at org.jboss.as.
naming.InitialContext.bind(InitialContext.java:161)
17:14:09,159 ERROR [stderr] (jmxConnectorStarterThread) at org.jboss.as.
naming.NamingContext.bind(NamingContext.java:230)
17:14:09,161 ERROR [stderr] (jmxConnectorStarterThread) at javax.naming.
InitialContext.bind(InitialContext.java:419)
17:14:09,163 ERROR [stderr] (jmxConnectorStarterThread) at javax.managem
ent.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:643)
17:14:09,166 ERROR [stderr] (jmxConnectorStarterThread) at javax.managem
ent.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:426)
17:14:09,168 ERROR [stderr] (jmxConnectorStarterThread) at org.activiti.
management.jmx.DefaultManagementAgent$1.run(DefaultManagementAgent.java:224)
17:14:09,170 ERROR [stderr] (jmxConnectorStarterThread) at java.lang.Thr
ead.run(Thread.java:745)
17:14:09,172 INFO [org.activiti.engine.impl.ProcessEngineImpl] (MSC service thr
ead 1-1) ProcessEngine default created
17:14:09,176 INFO [org.activiti.engine.ProcessEngines] (MSC service thread 1-1)
initialised process engine default
17:14:09,196 ERROR [org.apache.catalina.core.StandardContext] (MSC service threa
d 1-8) Context [/sea] startup failed due to previous errors: ja
va.lang.IllegalArgumentException: Child container with name default already exis
ts
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:804) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:79
2) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContext.addChild(StandardContext.jav
a:1878) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.deployment.JBossContextConfig.processWebMetaData(JBo
ssContextConfig.java:438) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.web.deployment.JBossContextConfig.applicationWebConfig(J
BossContextConfig.java:169) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:41
7) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:182) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.deployment.JBossContextConfig.lifecycleEvent(JBossCo
ntextConfig.java:162) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:115) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
790) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentS
ervice.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se
rviceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont
rollerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1145) [rt.jar:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615) [rt.jar:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
17:14:09,224 ERROR [org.apache.catalina.core.StandardContext] (MSC service threa
d 1-8) Context [/sea] startup failed due to previous errors
17:14:09,227 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC0000
1: Failed to start service jboss.web.deployment.default-host./sealmachine-standa
rd: org.jboss.msc.service.StartException in service jboss.web.deployment.default
-host./sea: JBAS018040: Failed to start context
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentS
ervice.java:95)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se
rviceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont
rollerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1145) [rt.jar:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615) [rt.jar:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
<code>
