0 Replies Latest reply on Dec 12, 2006 9:58 AM by crisandp

    JMS Queue NamingException

    crisandp

      Hi,
      I am trying to test some JMS connection failure using the JMX console by starting and stopping a queue.
      The code to get a javax.jms.Queue object is :

      Context ctx = new InitialContext();
      destQueue = (Queue) ctx.lookup(queue);

      After stopping and restarting the queue, the code above throws a NamingException.

      Any help would be greatly appreciated.

      Thanks in advance