<div dir="ltr"><div>Arun,<br></div>you have to create the queues + the name of the exposed ConnectionFactory depends if you are connecting from an in-vm factory or you want a remote connection factory.<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Oct 30, 2013 at 3:05 PM, Arun Gupta <span dir="ltr"><<a href="mailto:arun.gupta@gmail.com" target="_blank">arun.gupta@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello there ..<br>
<br>
Trying to deploy a simple JMS sample that uses classic and simplified<br>
API. The sample is available at:<br>
<br>
<a href="https://github.com/arun-gupta/javaee7-samples/tree/master/jms/send-receive-simple" target="_blank">https://github.com/arun-gupta/javaee7-samples/tree/master/jms/send-receive-simple</a><br>
<br>
But the deployment is failing with:<br>
<br>
07:01:10,423 ERROR [org.jboss.as.server] (management-handler-thread -<br>
28) JBAS015870: Deploy of deployment "send-receive-simple.war" was<br>
rolled back with the following failure message:<br>
{"JBAS014771: Services with missing/unavailable dependencies" => [<br>
"jboss.naming.context.java.module.send-receive-simple.send-receive-simple.env.\"org.javaee7.jms.send.receive.simple.ClassicMessageReceiver\".connectionFactory<br>
is missing [jboss.naming.context.java.module.send-receive-simple.send-receive-simple.DefaultJMSConnectionFactory]",<br>
"jboss.naming.context.java.module.send-receive-simple.send-receive-simple.env.\"org.javaee7.jms.send.receive.simple.ClassicMessageSender\".connectionFactory<br>
is missing [jboss.naming.context.java.module.send-receive-simple.send-receive-simple.DefaultJMSConnectionFactory]",<br>
"jboss.naming.context.java.module.send-receive-simple.send-receive-simple.env.\"org.javaee7.jms.send.receive.simple.SimplifiedMessageReceiver\".myQueue<br>
is missing [jboss.naming.context.java.global.jms.myQueue2]",<br>
"jboss.naming.context.java.module.send-receive-simple.send-receive-simple.env.\"org.javaee7.jms.send.receive.simple.ClassicMessageSender\".demoQueue<br>
is missing [jboss.naming.context.java.global.jms.myQueue2]",<br>
"jboss.naming.context.java.module.send-receive-simple.send-receive-simple.env.\"org.javaee7.jms.send.receive.simple.ClassicMessageReceiver\".demoQueue<br>
is missing [jboss.naming.context.java.global.jms.myQueue2]",<br>
"jboss.naming.context.java.module.send-receive-simple.send-receive-simple.env.\"org.javaee7.jms.send.receive.simple.SimplifiedMessageSender\".myQueue<br>
is missing [jboss.naming.context.java.global.jms.myQueue2]"<br>
]}<br>
<br>
<br>
Any suggestions ?<br>
<span class="HOEnZb"><font color="#888888"><br>
Arun<br>
--<br>
Blog: <a href="http://blog.arungupta.me" target="_blank">http://blog.arungupta.me</a><br>
Twitter: <a href="http://twitter.com/arungupta" target="_blank">http://twitter.com/arungupta</a><br>
_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>\n\m<br>"camel is a horse made up in a laboratory"
</div>