"PeterJ" wrote : public static void main(String[] args) throws Exception {
| | Context ctx = new InitialContext();
| | MBeanServerConnection mconn
=(MBeanServerConnection)ctx.lookup("jmx/invoker/RMIAdaptor");
| | ObjectName name = new
ObjectName("jboss.jca:name=xxxDS,service=ManagedConnectionPool");
| | Object val=mconn.getAttribute(name,"InUseConnectionCount");
| | System.out.println(name+"\n\tInUseConnectionCount="+val);
| | }
-Thanks Peter
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165129#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...