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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...