#39 XA Driver Pools not getting created

v2.4.beta
open
nobody
5
2015-02-11
2007-09-06
No

Hi,
I just integrated infrared with Weblogic 8.1 SP5 application , that uses Pools created using XA drivers (oracle).
I am using runtime weaving. I have done all the required set up as per the documentation. But when i start my server the pools are not created and i get the following Exception

java.lang.ClassCastException

at oracle.jdbc.pool.OraclePooledConnection.initialize\(OraclePooledConnection.java:180\)

at oracle.jdbc.pool.OraclePooledConnection.<init>\(OraclePooledConnection.java:155\)

at oracle.jdbc.xa.OracleXAConnection.<init>\(OracleXAConnection.java:57\)

at oracle.jdbc.xa.client.OracleXAConnection.<init>\(OracleXAConnection.java:60\)

at oracle.jdbc.driver.T4CXAConnection.<init>\(T4CXAConnection.java:34\)

at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection\(OracleXADataSource.java:321\)

at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection\(OracleXADataSource.java:84\)

at weblogic.jdbc.common.internal.XAConnectionEnvFactory.makeConnection\(XAConnectionEnvFactory.java:368\)

at weblogic.jdbc.common.internal.XAConnectionEnvFactory.createResource\(XAConnectionEnvFactory.java:106\)

at weblogic.common.resourcepool.ResourcePoolImpl.makeResources\(ResourcePoolImpl.java:1181\)

at weblogic.common.resourcepool.ResourcePoolImpl.makeResources\(ResourcePoolImpl.java:1111\)

at weblogic.common.resourcepool.ResourcePoolImpl.start\(ResourcePoolImpl.java:197\)

at weblogic.jdbc.common.internal.ConnectionPool.doStart\(ConnectionPool.java:1050\)

at weblogic.jdbc.common.internal.ConnectionPool.start\(ConnectionPool.java:146\)

at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool\(ConnectionPoolManager.java:345\)

at weblogic.jdbc.common.internal.JDBCService.addDeployment\(JDBCService.java:180\)

at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment\(DeploymentTarget.java:337\)

at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments\(DeploymentTarget.java:597\)

at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments\(DeploymentTarget.java:575\)

at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments\(DeploymentTarget.java:241\)

at sun.reflect.NativeMethodAccessorImpl.invoke0\(Native Method\)

at sun.reflect.NativeMethodAccessorImpl.invoke\(NativeMethodAccessorImpl.java:39\)

at sun.reflect.DelegatingMethodAccessorImpl.invoke\(DelegatingMethodAccessorImpl.java:25\)

at java.lang.reflect.Method.invoke\(Method.java:324\)

at weblogic.management.internal.DynamicMBeanImpl.invokeLocally\(DynamicMBeanImpl.java:755\)

at weblogic.management.internal.DynamicMBeanImpl.invoke\(DynamicMBeanImpl.java:734\)

at weblogic.management.internal.ConfigurationMBeanImpl.invoke\(ConfigurationMBeanImpl.java:516\)

at com.sun.management.jmx.MBeanServerImpl.invoke\(MBeanServerImpl.java:1557\)

at com.sun.management.jmx.MBeanServerImpl.invoke\(MBeanServerImpl.java:1525\)

at weblogic.management.internal.RemoteMBeanServerImpl.private\_invoke\(RemoteMBeanServerImpl.java:990\)

at weblogic.management.internal.RemoteMBeanServerImpl.invoke\(RemoteMBeanServerImpl.java:948\)

at weblogic.management.internal.MBeanProxy.invoke\(MBeanProxy.java:948\)

at weblogic.management.internal.MBeanProxy.invokeForCachingStub\(MBeanProxy.java:475\)

at weblogic.management.configuration.ServerMBean\_Stub.updateDeployments\(ServerMBean\_Stub.java:7731\)

at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments\(SlaveDeployer.java:1321\)

at weblogic.management.deploy.slave.SlaveDeployer.resume\(SlaveDeployer.java:339\)

at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume\(DeploymentManagerServerLifeCycleImpl.java:229\)

at weblogic.t3.srvr.SubsystemManager.resume\(SubsystemManager.java:136\)

at weblogic.t3.srvr.T3Srvr.resume\(T3Srvr.java:965\)

at weblogic.t3.srvr.T3Srvr.run\(T3Srvr.java:360\)

at weblogic.Server.main\(Server.java:32\)

.

When the infra red part is removed all works Fine.

I am using Oracle XA driver.

Discussion


Log in to post a comment.