|
| For quite some time now, I have been breaking my head over this exception while configurating p6spy with wsad 5.1.2 .
Exception is .....
Method createManagedConnctionWithMCWrapper caught an exception during creation of the ManagedConnection for resource mojosvr2, throwing ResourceAllocationException. Original exception: com.ibm.ws.exception.WsException: DSRA8101E: DataSource class cannot
be used as one-phase: ClassCastException: com.p6spy.engine.spy.P6XADataSource
at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java:217)
at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java:171)
at com.ibm.ws.rsadapter.AdapterUtil. createDataStoreAdapterException(AdapterU
til.java:208)
I have tried different data source Implementation classes e.g com.ibm.db2.jcc.DB2ConnectionPoolDataSource with com.p6spy.engine.spy.P6ConnectionPoolDataSource alnongwith enable2phase =true/false but I keep on gettingg the similar problem.
.....
Many people have already posted the same problem but nobody has gotten a final solution.
Requesting all to post a reply if they have a solution to the problem.
Regards,
Tarun Jindal
|
|