activemq-in-action
activemq-in-action copied to clipboard
circular dependency issue in JBOSS 7 AS
What steps will reproduce the problem?
1. simply build the chapter8/jms-webapp-jboss and deploy on JBoss
2. During the deployement the error of circular dependency comes
3. the application thus fails while deploying
What is the expected output? What do you see instead?
Complete succesful deploy is the expected output but the same fails due to some
circular dependency issues
What version of the product are you using? On what operating system?
Windows xp, JBOSS AS 7.1.0 final, Apache ActiveMQ 5.8.1 and maven 3.0.3
Please provide any additional information below.
The following stack trace is coming on the JBoss console
16:21:19,021 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2)
JBAS015870: Deploy of deployment "jms-webapp.war" was rolled back with failure
message {"JBAS014671: Failed services" =>
{"jboss.deployment.unit.\"jms-webapp.war\".INSTALL" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"jms-webapp.war\".INSTALL: Failed to process phase
INSTALL of deployment \"jms-webapp.war\""}}
16:21:19,036 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3)
JBAS015877: Stopped deployment jms-webapp.war in 29ms
16:21:19,036 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2)
JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.naming.context.java.jboss.java:jms.ConnectionFactory (missing) dependents: [service jboss.naming.context.java.module.jms-webapp.jms-webapp.env.jms.ConnectionFactory]
JBAS014777: Services which failed to start: service
jboss.deployment.unit."jms-webapp.war".INSTALL:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."jms-webapp.war".INSTALL: Failed to process phase INSTALL
of deployment "jms-webapp.war"
16:21:19,052 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.deployment.unit.\"jms-webapp.war\".INSTALL" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"jms-webapp.war\".INSTALL: Failed to process phase
INSTALL of deployment \"jms-webapp.war\""}}}}
Original issue reported on code.google.com by [email protected]
on 9 Apr 2013 at 10:55