hornetq queues are not bounded in jboss6-M5
surendra.konna Jan 31, 2013 7:55 AMwhen i start the jboss server the HornetQs are not bonded.
i am using HornetQ Server version 2.2.5.Final
how can i fix this issue.
=====server startup log========
17:59:18,650 INFO [TomcatDeployment] deploy, ctxPath=/
17:59:19,619 INFO [TomcatDeployment] deploy, ctxPath=/web
17:59:20,431 INFO [HornetQServerImpl] trying to deploy queue jms.queue.myTopic
17:59:20,431 INFO [HornetQActivation] Attempting to reconnect org.hornetq.ra.inflow.HornetQActivationSpec(ra=org.hornetq.ra.HornetQResourceAdapter@1957119 destination=qu
eue/A destinationType=javax.jms.Queue ack=Auto-acknowledge durable=false clientID=null user=null maxSession=15)
17:59:20,494 INFO [HornetQActivation] awaiting topic/queue creation queue/A
17:59:20,822 INFO [HornetQServerImpl] trying to deploy queue jms.queue.ExpiryQueue
17:59:20,884 INFO [HornetQServerImpl] trying to deploy queue jms.queue.A
17:59:20,947 INFO [HornetQServerImpl] trying to deploy queue jms.queue.test
17:59:20,994 INFO [HornetQServerImpl] trying to deploy queue jms.queue.DLQ
17:59:21,056 INFO [service] Removing bootstrap log handlers
17:59:21,291 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-80
17:59:21,291 INFO [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
17:59:21,291 INFO [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.20100911-M5 "Neo"] Started in 1m:55s:633ms
17:59:22,494 INFO [org.hornetq.ra.inflow.HornetQActivation] Attempting to reconnectorg.hornetq.ra.inflow.HornetQActivationSpec(ra=org.hornetq.ra.HornetQResourceAdapter@
1957119 destination=queue/A destinationType=javax.jms.Queue ack=Auto-acknowledge durable=false clientID=null user=null maxSession=15)
17:59:22,713 INFO [org.hornetq.ra.inflow.HornetQActivation] Reconnected with HornetQ
========================
=========ejb-jar.xml==========
<message-driven>
<ejb-name>MailMDB</ejb-name>
<ejb-class>com.mysedan.service.mail2.EmailMessageBean</ejb-class>
<transaction-type>Container</transaction-type>
<acknowledge-mode>AUTO_ACKNOWLEDGE</acknowledge-mode>
<message-driven-destination>
<destination-type>javax.jms.Queue</destination-type>
</message-driven-destination>
<resource-ref>
<res-ref-name>QCF</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</message-driven>
=======================
========jboss.xml=======
<message-driven>
<ejb-name>MailMDB</ejb-name>
<destination-jndi-name>queue/A</destination-jndi-name>
<create-destination>true</create-destination>
<resource-ref>
<res-ref-name>QCF</res-ref-name>
<jndi-name>ConnectionFactory</jndi-name>
</resource-ref>
</message-driven>
===================
and i specified the adapter-name with annotation @ResourceAdapter("hornetq-ra.rar") in MDB.
=====hornetq-jms.xml====
/queue>
<queue name="A">
<entry name="/queue/A"/>
<durable>true</durable>
</queue>
==============