[wildfly-dev] JMS 2 sample in WildFly 8 giving "missing/unavailable dependencies"

Jeff Mesnil jmesnil at redhat.com
Wed Oct 30 10:10:06 EDT 2013


On 30 Oct 2013, at 15:05, Arun Gupta <arun.gupta at gmail.com> wrote:

> Hello there ..
> 
> Trying to deploy a simple JMS sample that uses classic and simplified
> API. The sample is available at:
> 
> https://github.com/arun-gupta/javaee7-samples/tree/master/jms/send-receive-simple
> 
> But the deployment is failing with:
> 
> 07:01:10,423 ERROR [org.jboss.as.server] (management-handler-thread -
> 28) JBAS015870: Deploy of deployment "send-receive-simple.war" was
> rolled back with the following failure message:
> {"JBAS014771: Services with missing/unavailable dependencies" => [
> "jboss.naming.context.java.module.send-receive-simple.send-receive-simple.env.\"org.javaee7.jms.send.receive.simple.ClassicMessageReceiver\".connectionFactory
> is missing [jboss.naming.context.java.module.send-receive-simple.send-receive-simple.DefaultJMSConnectionFactory]",
> "jboss.naming.context.java.module.send-receive-simple.send-receive-simple.env.\"org.javaee7.jms.send.receive.simple.ClassicMessageSender\".connectionFactory
> is missing [jboss.naming.context.java.module.send-receive-simple.send-receive-simple.DefaultJMSConnectionFactory]",
> "jboss.naming.context.java.module.send-receive-simple.send-receive-simple.env.\"org.javaee7.jms.send.receive.simple.SimplifiedMessageReceiver\".myQueue
> is missing [jboss.naming.context.java.global.jms.myQueue2]",
> "jboss.naming.context.java.module.send-receive-simple.send-receive-simple.env.\"org.javaee7.jms.send.receive.simple.ClassicMessageSender\".demoQueue
> is missing [jboss.naming.context.java.global.jms.myQueue2]",
> "jboss.naming.context.java.module.send-receive-simple.send-receive-simple.env.\"org.javaee7.jms.send.receive.simple.ClassicMessageReceiver\".demoQueue
> is missing [jboss.naming.context.java.global.jms.myQueue2]",
> "jboss.naming.context.java.module.send-receive-simple.send-receive-simple.env.\"org.javaee7.jms.send.receive.simple.SimplifiedMessageSender\".myQueue
> is missing [jboss.naming.context.java.global.jms.myQueue2]"
> ]}
> 
> 
> Any suggestions ?

which standalone configuration are your using?

JMS is part of standalone-full.xml and not in standalone.xml.

jeff

-- 
Jeff Mesnil
JBoss, a division of Red Hat
http://jmesnil.net/




More information about the wildfly-dev mailing list