If your MBean naming is consistent, you don't need to include a QueryExp in the call to QueryNames (just pass null as a second argument). QueryExp really refers to the actual attribute values of MBeans
Then use a appropriate ObjectName pattern, eg: "jboss.jca:service=ManagedConnectionPool,*" will get you all ManagedConnectionPools, under domain jboss.jca Alter your connection MBean names if necessary View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853929#3853929 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853929 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user