Thanks for your quick reply. I changed my code to: ObjectName scope = new ObjectName("jboss.jca:service=ManagedConnectionPool,*");
QueryExp exp = Query.initialSubString(Query.attr("Name"), null); Set set = server.queryNames(scope, exp); log.info("Found " + set.size() + " pools"); Iterator it = set.iterator(); while(it.hasNext()) log.info(it.next()); And it still found 0 results. Am I still doing something wrong? Should I not be using Query.initialSubString? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853934#3853934 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853934 ------------------------------------------------------- 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