1 Reply Latest reply on Dec 6, 2007 1:56 PM by b_nair

    javax.naming.NameNotFoundException: jmx not bound

    geniusfox

      Hi all:
      I use the Jboss4.04GA and deploy the jbossmq server with the /docs/examples/jms/standalone/build.xml. I want use RMIAdaptor to monitor the Queue length:

      RMIAdaptor server = (RMIAdaptor)ctx.lookup("jmx/invoker/RMIAdaptor");
       ObjectName name = new ObjectName("jboss.mq.destination:name=A ,service=Queue");...
      This code work well in default server, but in jbossmq server always ocuure " javax.naming.NameNotFoundException: jmx not bound". How can i fix that.