<div dir="ltr">Jeff has a  strong point because if you are using the standalone.xml and not the full one..the JMS isn&#39;t loaded.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 30, 2013 at 3:10 PM, Arun Gupta <span dir="ltr">&lt;<a href="mailto:arun.gupta@gmail.com" target="_blank">arun.gupta@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Both of these should not be required for Java EE 7.<br>
<br>
The sample has:<br>
<br>
@JMSDestinationDefinitions({@JMSDestinationDefinition(name =<br>
&quot;java:global/jms/myQueue2&quot;,<br>
interfaceName = &quot;javax.jms.Queue&quot;)<br>
})<br>
<br>
so the destination should be created as part of deployment.<br>
<br>
And JMSContext relies upon default JMS Connection Factory.<br>
<span class="HOEnZb"><font color="#888888"><br>
Arun<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Wed, Oct 30, 2013 at 7:08 AM, Nick Mpallas &lt;<a href="mailto:mpallas@gmail.com">mpallas@gmail.com</a>&gt; wrote:<br>
&gt; Arun,<br>
&gt; you have to create the queues + the name of the exposed ConnectionFactory<br>
&gt; depends if you are connecting from an in-vm factory or you want a remote<br>
&gt; connection factory.<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Oct 30, 2013 at 3:05 PM, Arun Gupta &lt;<a href="mailto:arun.gupta@gmail.com">arun.gupta@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hello there ..<br>
&gt;&gt;<br>
&gt;&gt; Trying to deploy a simple JMS sample that uses classic and simplified<br>
&gt;&gt; API. The sample is available at:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; <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>
&gt;&gt;<br>
&gt;&gt; But the deployment is failing with:<br>
&gt;&gt;<br>
&gt;&gt; 07:01:10,423 ERROR [org.jboss.as.server] (management-handler-thread -<br>
&gt;&gt; 28) JBAS015870: Deploy of deployment &quot;send-receive-simple.war&quot; was<br>
&gt;&gt; rolled back with the following failure message:<br>
&gt;&gt; {&quot;JBAS014771: Services with missing/unavailable dependencies&quot; =&gt; [<br>
&gt;&gt;<br>
&gt;&gt; &quot;jboss.naming.context.java.module.send-receive-simple.send-receive-simple.env.\&quot;org.javaee7.jms.send.receive.simple.ClassicMessageReceiver\&quot;.connectionFactory<br>
&gt;&gt; is missing<br>
&gt;&gt; [jboss.naming.context.java.module.send-receive-simple.send-receive-simple.DefaultJMSConnectionFactory]&quot;,<br>
&gt;&gt;<br>
&gt;&gt; &quot;jboss.naming.context.java.module.send-receive-simple.send-receive-simple.env.\&quot;org.javaee7.jms.send.receive.simple.ClassicMessageSender\&quot;.connectionFactory<br>
&gt;&gt; is missing<br>
&gt;&gt; [jboss.naming.context.java.module.send-receive-simple.send-receive-simple.DefaultJMSConnectionFactory]&quot;,<br>
&gt;&gt;<br>
&gt;&gt; &quot;jboss.naming.context.java.module.send-receive-simple.send-receive-simple.env.\&quot;org.javaee7.jms.send.receive.simple.SimplifiedMessageReceiver\&quot;.myQueue<br>
&gt;&gt; is missing [jboss.naming.context.java.global.jms.myQueue2]&quot;,<br>
&gt;&gt;<br>
&gt;&gt; &quot;jboss.naming.context.java.module.send-receive-simple.send-receive-simple.env.\&quot;org.javaee7.jms.send.receive.simple.ClassicMessageSender\&quot;.demoQueue<br>
&gt;&gt; is missing [jboss.naming.context.java.global.jms.myQueue2]&quot;,<br>
&gt;&gt;<br>
&gt;&gt; &quot;jboss.naming.context.java.module.send-receive-simple.send-receive-simple.env.\&quot;org.javaee7.jms.send.receive.simple.ClassicMessageReceiver\&quot;.demoQueue<br>
&gt;&gt; is missing [jboss.naming.context.java.global.jms.myQueue2]&quot;,<br>
&gt;&gt;<br>
&gt;&gt; &quot;jboss.naming.context.java.module.send-receive-simple.send-receive-simple.env.\&quot;org.javaee7.jms.send.receive.simple.SimplifiedMessageSender\&quot;.myQueue<br>
&gt;&gt; is missing [jboss.naming.context.java.global.jms.myQueue2]&quot;<br>
&gt;&gt; ]}<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Any suggestions ?<br>
&gt;&gt;<br>
&gt;&gt; Arun<br>
&gt;&gt; --<br>
&gt;&gt; Blog: <a href="http://blog.arungupta.me" target="_blank">http://blog.arungupta.me</a><br>
&gt;&gt; Twitter: <a href="http://twitter.com/arungupta" target="_blank">http://twitter.com/arungupta</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; wildfly-dev mailing list<br>
&gt;&gt; <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; \n\m<br>
&gt; &quot;camel is a horse made up in a laboratory&quot;<br>
<br>
<br>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>\n\m<br>&quot;camel is a horse made up in a laboratory&quot;
</div>