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

Arun Gupta arun.gupta at gmail.com
Wed Oct 30 10:10:32 EDT 2013


Both of these should not be required for Java EE 7.

The sample has:

@JMSDestinationDefinitions({@JMSDestinationDefinition(name =
"java:global/jms/myQueue2",
interfaceName = "javax.jms.Queue")
})

so the destination should be created as part of deployment.

And JMSContext relies upon default JMS Connection Factory.

Arun

On Wed, Oct 30, 2013 at 7:08 AM, Nick Mpallas <mpallas at gmail.com> wrote:
> Arun,
> 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.
>
>
> On Wed, Oct 30, 2013 at 3:05 PM, 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 ?
>>
>> Arun
>> --
>> Blog: http://blog.arungupta.me
>> Twitter: http://twitter.com/arungupta
>> _______________________________________________
>> wildfly-dev mailing list
>> wildfly-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>
>
>
>
> --
> \n\m
> "camel is a horse made up in a laboratory"



-- 
Blog: http://blog.arungupta.me
Twitter: http://twitter.com/arungupta


More information about the wildfly-dev mailing list