Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Do datasources have to support distributed transactinos?

Status
Not open for further replies.

solmyr72

Programmer
Aug 8, 2004
20
IL
Hi,

We're trying to use a customized datasource class. It does not support distributed transactions (which are not required by the application anyway).
However, WSAD refused to allow this. At runtime, it throws an exception saying
Code:
"DSRA8101E "DataSource class cannot be used as one-phase"
Would anyone happen to have experienced similar problems ? help will be much appreciated.

More details:
Code:
WSAD version: 5.0.1

Customized datasource: p6spy (used for debugging, wrapped around oracle driver)

Partial stack trace:
[13:08:52:427 IDT 08/08/04]  642eeab FreePool      E J2CA0046E: Method createManagedConnctionWithMCWrapper caught an exception during creation of the ManagedConnection for resource jdbc/p6spyDs, throwing ResourceAllocationException.  Original exception: com.ibm.ws.exception.WsException: DSRA8101E: DataSource class cannot be used as one-phase: ClassCastException: com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource
	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(AdapterUtil.java:191)
	at com.ibm.ws.rsadapter.DSConfigurationHelper.getPooledConnection(DSConfigurationHelper.java:710)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top