5

Getting UCP Connection Pool statistics though JMX Client

view full story
linux-howto

http://serverfault.com – I'm trying to get UCP Connection Pool statistics over JMX, my Client Application code is as below.. public static JMXConnector connector; public static String host,port =""; JMXServiceURL jmxURL = new JMXServiceURL("service:jmx:rmi:///jndi/rmi://" +host + ":" + port + "/jmxrmi"); connector = JMXConnectorFactory.connect(jmxURL); MBeanServerConnection connection = connector.getMBeanServerConnection(); ObjectName oracleUCP = new ObjectName("oracle.ucp.admin.UniversalConnectionPoolMBean:name=UniversalConnectionPoolManager-XXXXXXX"); UniversalConnectionPoolLifeCycleState ucpLifeState = (Univ (HowTos)