com.ibm.ws.exception.WsException: DSRA8100E: Unable to get a XAConnection from the DataSource. with SQL State : XJ004 SQL Code : 40000

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Unknown author, 1 year ago
DSRA8100E: Unable to get a XAConnection from the DataSource. with SQL State : XJ004 SQL Code : 40000
via Coderanch by Visa Ram, 11 months ago
DSRA8100E: Unable to get a PooledConnection from the DataSource.
via Google Groups by Ian Norris, 3 months ago
DSRA8100E: Unable to get a PooledConnection from the DataSource.
via Google Groups by solmyr72, 3 months ago
DSRA8101E: DataSource class cannot be used as one-phase: ClassCastException: com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource
via Coderanch by Sol Mayer-Orn, 11 months ago
DSRA8101E: DataSource class cannot be used as one-phase: ClassCastException: com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource
via chinaunix.net by Unknown author, 1 year ago
com.ibm.ws.exception.WsException: DSRA8100E: Unable to get a XAConnection from the DataSource. with SQL State : XJ004 SQL Code : 40000
at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.(DataStoreAdapterException.java:257)
at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.(DataStoreAdapterException.java:173)
at com.ibm.ws.rsadapter.AdapterUtil.createDataStoreAdapterException(AdapterUtil.java:210)
at com.ibm.ws.rsadapter.DSConfigurationHelper.getPooledConnection(DSConfigurationHelper.java:914)
at com.ibm.ws.rsadapter.spi.WSRdbDataSource.getPooledConnection(WSRdbDataSource.java:675)
at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection(WSManagedConnectionFactoryImpl.java:732)
at com.ibm.ejs.j2c.J2CXAResourceFactory.getXAResource(J2CXAResourceFactory.java:172)
at com.ibm.ws.Transaction.JTA.XARecoveryData.recover(XARecoveryData.java:632)
at com.ibm.ws.Transaction.JTA.RecoveryManager.resync(RecoveryManager.java:1377)
at com.ibm.ws.Transaction.JTA.ResyncThread.run(RecoveryManager.java:1448)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.