AnsweredAssumed Answered

JBoss 7.0.1 and Activiti-Rest

Question asked by bidek on Dec 29, 2011
Latest reply on Sep 30, 2016 by wade.zeng
Hi,
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.dodeploy
06: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=false
06: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.RuntimeWebServiceImpl
06: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.RuntimeWebServiceImpl
06: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 more
Caused 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 more

06: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 327ms
06:50:50,433 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) JBAS014774: Service status report
JBAS014777:   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\""}}}}

Outcomes