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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to