Try using this when looking up the RMI Adaptor:

MBeanServerConnection mconn = 
(MBeanServerConnection)ctx.lookup("jmx/invoker/RMIAdaptor");

The MBeanServerConnection has all of the methods you need 
http://java.sun.com/j2ee/1.4/docs/api/javax/management/MBeanServerConnection.html:

getAttribute(ObjectName name, String attribute)
          Gets the value of a specific attribute of a named MBean.

setAttribute(ObjectName name, Attribute attribute)
          Sets the value of a specific attribute of a named MBean.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027170#4027170

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027170
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to