[jboss-user] [Messaging, JMS & JBossMQ] - Re: import org.jboss.mq.server.jmx.Queue
vitor_b
do-not-reply at jboss.com
Tue Mar 27 05:21:23 EDT 2007
Hello
If you really need remote access you need to change one line in your code.
Change this line:
MBeanServer server = MBeanServerLocator.locateJBoss();
to this one:
MBeanServerConnection server = (MBeanServerConnection) ictx.lookup("jmx/invoker/RMIAdaptor");
That should help.
Best regards.
vitor_b
P.S. Do you have any experience in working with XML?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031941#4031941
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031941
More information about the jboss-user
mailing list