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.
How is your "jboss.mq:service=DestinationManager" mbean deployed? Search for it in JBoss Server directory.