[jboss-as7-dev] Is MBean "ManagedConnectionPool" still available in AS7?

Bill Hong (Gong) ghong at delphi-tech.com
Thu Aug 11 06:33:55 EDT 2011


Hi,

We need to migrate a program that rests connection pool from AS6 to AS7. The following codes do not work in AS7 any more:
...
            MBeanServer connector = (MBeanServer) javax.management.MBeanServerFactory.findMBeanServer(null).iterator().next();
            ObjectName objectName = new ObjectName("jboss.jca:service=ManagedConnectionPool,name=" + dbPoolId);
            connector.invoke(objectName, "flush", null, null);
...

I have a couple of questions:
1) It seems IronJacamar replaced previous JCA container in AS7. Is there specific document explain how to configure/debug it in AS7 environment? Is it deployed as a core module in AS7?
2) What is the equivalent way to reset connection pool in AS7 if "jboss.jca. ManagedConnectionPool" is not available now?

Thank you!

Regards,
Bill


________________________________
CONFIDENTIALITY NOTICE
This e-mail message from Delphi Technology, Inc. is intended only for the individual or entity to which it is addressed. This e-mail may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you received this e-mail by accident, please notify the sender immediately and destroy this e-mail and all copies of it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110811/faf2bcf4/attachment.html 


More information about the jboss-as7-dev mailing list