[rules-users] Deploying Guvnor 5.5.1 in JBoss 7.1.1.Final

rjr201 rich.j.riley at gmail.com
Mon Jul 15 12:01:28 EDT 2013


Hi,

I've just checked out and successfully compiled:
https://github.com/droolsjbpm/guvnor/tree/5.5.x

I've tried to deploy this in jboss-as-7.1.1.Final but got the following
error:

16:48:14,132 ERROR [org.apache.catalina.core.StandardContext] (MSC service
thread 1-4) Context [/guvnor-webapp-drools-5.5.1-SNAPSHOT] startup failed
due to previous errors: java.lang.IllegalArgumentException: Duplicate
context initialization parameter resteasy.injector.factory
	at
org.apache.catalina.core.StandardContext.addParameter(StandardContext.java:2186)
[jbossweb-7.0.13.Final.jar:]
	at
org.jboss.as.web.deployment.JBossContextConfig.processWebMetaData(JBossContextConfig.java:261)
[jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
	at
org.jboss.as.web.deployment.JBossContextConfig.applicationWebConfig(JBossContextConfig.java:169)
[jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
	at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:417)
[jbossweb-7.0.13.Final.jar:]
	at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:182)
[jbossweb-7.0.13.Final.jar:]
	at
org.jboss.as.web.deployment.JBossContextConfig.lifecycleEvent(JBossContextConfig.java:162)
[jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115)
[jbossweb-7.0.13.Final.jar:]
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3790)
[jbossweb-7.0.13.Final.jar:]
	at
org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)
[jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
	at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
	at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_13]
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_13]
	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_13]

16:48:14,142 ERROR [org.apache.catalina.core.StandardContext] (MSC service
thread 1-4) Context [/guvnor-webapp-drools-5.5.1-SNAPSHOT] startup failed
due to previous errors
16:48:14,149 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4)
MSC00001: Failed to start service
jboss.web.deployment.default-host."/guvnor-webapp-drools-5.5.1-SNAPSHOT":
org.jboss.msc.service.StartException in service
jboss.web.deployment.default-host."/guvnor-webapp-drools-5.5.1-SNAPSHOT":
JBAS018040: Failed to start context
	at
org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:95)
	at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
	at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.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_13]
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_13]
	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_13]

16:48:14,157 INFO  [org.jboss.as] (MSC service thread 1-4) JBAS015951: Admin
console listening on http://127.0.0.1:9990
16:48:14,158 ERROR [org.jboss.as] (MSC service thread 1-4) JBAS015875: JBoss
AS 7.1.1.Final "Brontes" started (with errors) in 13913ms - Started 295 of
374 services (2 services failed or missing dependencies, 76 services are
passive or on-demand)
16:48:14,358 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2)
JBAS015870: Deploy of deployment "guvnor-webapp-drools-5.5.1-SNAPSHOT.war"
was rolled back with failure message {"JBAS014671: Failed services" =>
{"jboss.web.deployment.default-host.\"/guvnor-webapp-drools-5.5.1-SNAPSHOT\""
=> "org.jboss.msc.service.StartException in service
jboss.web.deployment.default-host.\"/guvnor-webapp-drools-5.5.1-SNAPSHOT\":
JBAS018040: Failed to start context"}}
16:48:14,384 INFO  [org.jboss.weld.deployer] (MSC service thread 1-3)
JBAS016009: Stopping weld service for deployment
guvnor-webapp-drools-5.5.1-SNAPSHOT.war
16:48:17,110 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1)
JBAS015877: Stopped deployment guvnor-webapp-drools-5.5.1-SNAPSHOT.war in
2745ms
16:48:17,111 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2)
JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service
jboss.web.deployment.default-host."/guvnor-webapp-drools-5.5.1-SNAPSHOT":
org.jboss.msc.service.StartException in service
jboss.web.deployment.default-host."/guvnor-webapp-drools-5.5.1-SNAPSHOT":
JBAS018040: Failed to start context

16:48:17,113 ERROR [org.jboss.as.server.deployment.scanner]
(DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and
was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671:
Failed services" =>
{"jboss.web.deployment.default-host.\"/guvnor-webapp-drools-5.5.1-SNAPSHOT\""
=> "org.jboss.msc.service.StartException in service
jboss.web.deployment.default-host.\"/guvnor-webapp-drools-5.5.1-SNAPSHOT\":
JBAS018040: Failed to start context"}}}}

Am I doing something wrong? Or has anyone else come across this error?

Any help with this would be gratefully appreciated.

Thanks,
Rich. 




--
View this message in context: http://drools.46999.n3.nabble.com/Deploying-Guvnor-5-5-1-in-JBoss-7-1-1-Final-tp4024917.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list