Ah, that might be it.
Noob question then ...
How do you tell standalone.sh to use standalone-full.xml ?
Arun
On Wed, Oct 30, 2013 at 7:10 AM, Jeff Mesnil <jmesnil(a)redhat.com> wrote:
On 30 Oct 2013, at 15:05, Arun Gupta <arun.gupta(a)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-receiv...
>
> 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/