4 Replies Latest reply on Feb 4, 2013 8:14 AM by Andy Taylor

    hornetq queues are not bounded in jboss6-M5

    Surendra Ind Newbie

      when 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>

      ==============

        • 1. Re: hornetq queues are not bounded in jboss6-M5
          Andy Taylor Master

          its not an issue, the resource adapter is just waiting for the queue to be deployed, the log message '

          17:59:22,713 INFO  [org.hornetq.ra.inflow.HornetQActivation] Reconnected with HornetQ' shows it connecting. If you want to get rid of the warnings you can try adding a dependency on the queue but you would have to ask in the AS forums as to how this is done.

          • 2. Re: hornetq queues are not bounded in jboss6-M5
            Surendra Ind Newbie

            Andy,  thanks for clarifying the doubt....

            • 3. Re: hornetq queues are not bounded in jboss6-M5
              Surendra Ind Newbie

              I migrated the HornetQ Server version  from 2.2.5.Final to 2.2.14.Final.

              here  i am not getting ' INFO  [org.hornetq.ra.inflow.HornetQActivation] Reconnected with HornetQ', but i can able to successfully lookup for queue and sending messages without any error.

              can i assume  all the queues are bounded without any INFO because from the log its still trying to deploy.

               

              Can i ignore this or do i required any changes?

               

              17:48:30,562 INFO  [TomcatDeployment] deploy, ctxPath=/

              17:48:31,328 INFO  [TomcatDeployment] deploy, ctxPath=/web

              17:48:31,515 INFO  [HornetQServerImpl] trying to deploy queue jms.queue.A

              17:48:31,562 INFO  [HornetQServerImpl] trying to deploy queue jms.queue.test

              17:48:31,578 INFO  [HornetQServerImpl] trying to deploy queue jms.queue.DLQ

              17:48:31,593 INFO  [HornetQServerImpl] trying to deploy queue jms.queue.ExpiryQueue

              17:48:31,734 INFO  [service] Removing bootstrap log handlers

              17:48:31,906 INFO  [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-80

              17:48:31,921 INFO  [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009

              17:48:31,937 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.20100911-M5 "Neo"] Started in 2m:10s:562ms