javax.resource.ResourceException: enlist: caught Exception


Solutions on the web

Solution icon of coderanch
via Coderanch by Neal Sharman, 9 months ago
enlist: caught Exception

Solution icon of web
enlist: caught Exception

Solution icon of web
via fixunix.com by Unknown author, 1 year ago
enlist: caught Exception

Solution icon of web
via narkive.com by Unknown author, 1 year ago
enlist: caught Exception

Solution icon of web
enlist: caught Exception

Solution icon of web
enlist: caught Exception

Solution icon of googlegroups
via Google Groups by derrickdb2, 1 year ago
enlist: caught Exception

Solution icon of web
enlist: caught Exception

Solution icon of oraclecommunity
via Oracle Community by 843830, 1 year ago
enlist: caught Exception


Stack trace

javax.resource.ResourceException: enlist: caught Exception
	at com.ibm.ejs.j2c.LocalTransactionWrapper.enlist(LocalTransactionWrapper.java:696)
	at com.ibm.ejs.j2c.ConnectionManager.lazyEnlist(ConnectionManager.java:2186)
	at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.lazyEnlist(WSRdbManagedConnectionImpl.java:2569)
	at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcConnection.java:714)
Caused by: com.ibm.ws.Transaction.IllegalResourceIn2PCTransactionException: Illegal attempt to enlist multiple 1PC XAResources
	at com.ibm.ws.tx.jta.RegisteredResources.enlistResource(RegisteredResources.java:864)
	at com.ibm.ws.tx.jta.TransactionImpl.enlistResource(TransactionImpl.java:1781)
	at com.ibm.ws.tx.jta.TranManagerSet.enlistOnePhase(TranManagerSet.java:612)
	at com.ibm.ejs.j2c.LocalTransactionWrapper.enlist(LocalTransactionWrapper.java:593)
	... 4 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago