com.ibm.ws.Transaction.IllegalResourceIn2PCTransactionException: Illegal attempt to enlist multiple 1PC XAResources

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 coderanch.com by Unknown author, 1 year ago
via Google Groups by derrickdb2, 1 year ago
Illegal attempt to enlist multiple 1PC XAResources
via fixunix.com by Unknown author, 1 year ago
Illegal attempt to enlist multiple 1PC XAResources
via narkive.com by Unknown author, 1 year ago
Illegal attempt to enlist multiple 1PC XAResources
via lotus.com by Unknown author, 1 year ago
com.ibm.ws.Transaction.IllegalResourceIn2PCTransactionException: Illegal attempt to enlist multiple 1PC XAResources
at com.ibm.ws.Transaction.JTA.RegisteredResources.enlistResource(RegisteredResources.java:398)
at com.ibm.ws.Transaction.JTA.TransactionImpl.enlistResource(TransactionImpl.java:3090)
at com.ibm.ws.Transaction.JTA.TranManagerSet.enlistOnePhase(TranManagerSet.java:438)
at com.ibm.ejs.j2c.LocalTransactionWrapper.enlist(LocalTransactionWrapper.java:585)
at com.ibm.ejs.j2c.ConnectionManager.lazyEnlist(ConnectionManager.java:1747)
at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.lazyEnlist(WSRdbManagedConnectionImpl.java:2116)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcConnection.java:600)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.getMetaData(WSJdbcConnection.java:1533)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:86)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
at com.aciworldwide.ecourier.utility.hibernate.HibernateCfgSessionFactoryProvider.createNewSessionFactory(HibernateCfgSessionFactoryProvider.java:95)
at com.aciworldwide.ecourier.utility.hibernate.HibernateSessionManager.getSessionFactory(HibernateSessionManager.java:136)
at com.aciworldwide.ecourier.utility.hibernate.HibernateSessionManager.getCurrentSession(HibernateSessionManager.java:89)
at com.aciworldwide.ecourier.utility.ejb.AbstractSessionBean.getCurrentSession(AbstractSessionBean.java:719)
at com.aciworldwide.ecourier.management.ejb.OperationsManagerSessionBean.createUser(OperationsManagerSessionBean.java:1118)
at com.aciworldwide.ecourier.management.ejb.remote.EJSRemoteStatelessOperationsManager_096eb77f.createUser(Unknown Source)
at com.aciworldwide.ecourier.management.ejb.remote._EJSRemoteStatelessOperationsManager_096eb77f_Tie.createUser(_EJSRemoteStatelessOperationsManager_096eb77f_Tie.java:406)
at com.aciworldwide.ecourier.management.ejb.remote._EJSRemoteStatelessOperationsManager_096eb77f_Tie._invoke(_EJSRemoteStatelessOperationsManager_096eb77f_Tie.java:98)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:613)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:466)
at com.ibm.rmi.iiop.ORB.process(ORB.java:503)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1552)
at com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2673)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2551)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:62)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:118)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

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.