The ObjectName to be used in GlassFish v3 is "amx:pp=/mon/server-mon[server],type=jdbc-connection-pool-mon,name=resources/" + poolName. The JMXServiceURL "service:jmx:rmi:///jndi/rmi://localhost:8686/jmxrmi" can be used to get the JMXConnector and then the MBeanServerConnection.
[Message sent by forum member 'sm157516']
http://forums.java.net/jive/thread.jspa?messageID=477331