[jboss-user] [Installation, Configuration & Deployment] - Re: Chnaging JBoss JDBC connection pool size

PeterJ do-not-reply at jboss.com
Mon Mar 12 10:19:48 EDT 2007


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



More information about the jboss-user mailing list