2 Replies Latest reply on May 14, 2003 3:53 PM by semi

    Queue not bound

    Collin Novice

      I have a Message driven bean that listens on a queue named CXMLPublishQueue. I have two ways of sending messages to that queue. One, from the command line, and two, from within an EJB or web application class.

      In the latter case, whenever I try to lookup the queue with JNDI, I get an error saying the queue is not bound.

      In the command line, I use "java:/queue/CXMLPublishQueue" for the lookup. This works.

      I have tried:


      From within the EJBs or web application classes, and none of these work. All of my other beans and what have you are able to be looked up with ease from both the command line and other EJBs.

      At the bottom of jbossmq-service.xml, I have the queue defined:

      <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager
      <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager

      Any ideas? thanks :)