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