WebSphere Application Server - How to configure P6Spy Driver with websphere 5.1 version

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > November 2005 > How to configure P6Spy Driver with websphere 5.1 version





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to configure P6Spy Driver with websphere 5.1 version

2005-11-03, 2:51 am

Hi

I would like to configure User-defined JDBC Provider in Websphere Application Server V5.1 .
I would like to configure P6Spy Driver , and i was trying to use P6ConnectionPoolDataSource .
I also added property "enable2Phase" to true / false etc ,
I had tried with P6DriverManagerDataSource class and P6XADataSource class too ,
but still i was getting the following error

[11/3/05 9:40:20:156 IST] 71ca013e ConnectionMan E J2CA0020E: The Connection Pool Manager could not allocate a Managed Connection: javax.resource.spi.ResourceAllocationException: DSRA8101E: DataSource class cannot be used as one-phase: ClassCastException:
com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource
at com.ibm.ejs.j2c.poolmanager.FreePool. createManagedConnectionWithMCWrapper(Fre
ePool.java:1321)
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:1064)
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:1571)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:622)
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:424)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:216)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:191)

Expecting a reply

Thanks in Advance

Best Regards
Rajesh Kartha

2005-11-29, 2:51 am

Did you get the solution to the problem. I am also stuck at the same point.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com