Is MBean "ManagedConnectionPool" still available in AS7?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Is MBean "ManagedConnectionPool" still available in AS7?

Bill Hong (Gong)

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.

_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev