1 Reply Latest reply on Apr 27, 2004 6:45 AM by adrian.brock

    Could not find Queue

    kumaravel

      Hi all,
      Iam using message queues in my application, when i try to deploy my application in jboss-3.2.3, console displays an warn message could not find message queues and it creates an temp queues. Following are my configurations.

      1.jbossmq-destinations-service.xml
      .....

      <jndi-name>myQueue</jndi-name>
      <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager

      .....
      2.jboss.xml(in my ear file)
      <message-driven>
      <ejb-name>MDBRespBean</ejb-name>
      <destination-jndi-name>myQueue</destination-jndi-name>
      True
      <resource-ref>
      <res-ref-name>MDBQCF</res-ref-name>
      <jndi-name>jms/jndi-MYQueueConnectionFactoryRMI</jndi-name>
      </resource-ref>
      </message-driven>

      3.following is part of console message:
      .
      ...
      ......
      2004-04-22 23:21:42,168 INFO [org.jboss.mq.pm.jdbc2.PersistenceManager] Started jboss.mq:service=PersistenceManager
      2004-04-22 23:21:42,184 INFO [org.jboss.mq.server.jmx.DestinationManager] Started jboss.mq:service=DestinationManager
      2004-04-22 23:21:55,855 INFO [org.jboss.mq.server.jmx.Queue.myQueue] Bound to JNDI name: queue/myQueue
      2004-04-22 23:21:55,855 INFO [org.jboss.mq.server.jmx.Queue.myQueue] Started jboss.mq.destination:service=Queue,name=myQueue
      .......
      .......
      .......
      2004-04-22 23:25:27,949 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Could not find the queue destination-jndi-name=myQueue
      2004-04-22 23:25:27,949 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] destination not found: queue/myQueue reason: javax.naming.NameNotFoundException: myQueue not bound
      2004-04-22 23:25:27,965 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] creating a new temporary destination: queue/myQueue
      ....
      ....

      Thanks,
      Kumar

        • 1. Re: Could not find Queue

          Moved to the user forums.

          Which part about "DO NOT POST USER QUESTIONS HERE" did you not understand?

          MBeans do have not tag called <jndi-name>
          The Queue MBean does have an attribute called JNDIName

          <attribute name="JNDIName">myQueue</attribute>