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


Solutions on the web

Solution icon of web
via narkive.com by Unknown author, 1 year ago
Illegal attempt to enlist multiple 1PC XAResources

Solution icon of googlegroups
via Google Groups by derrickdb2, 1 year ago
Illegal attempt to enlist multiple 1PC XAResources

Solution icon of web
via fixunix.com by Unknown author, 1 year ago
Illegal attempt to enlist multiple 1PC XAResources

Solution icon of web
Illegal attempt to enlist multiple 1PC XAResources

Solution icon of web
Illegal attempt to enlist multiple 1PC XAResources

Solution icon of web
Illegal attempt to enlist multiple 1PC XAResources

Solution icon of web
Illegal attempt to enlist multiple 1PC XAResources

Solution icon of coderanch
via Coderanch by Neal Sharman, 9 months ago
Illegal attempt to enlist multiple 1PC XAResources


Stack trace

com.ibm.ws.Transaction.IllegalResourceIn2PCTransactionException: Illegal attempt to enlist multiple 1PC XAResources
	at com.ibm.ws.Transaction.JTA.RegisteredResources.enlistResource(RegisteredResources.java:399)
	at com.ibm.ws.Transaction.JTA.TransactionImpl.enlistResource(TransactionImpl.java:3147)
	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.ConnectionEventListener.localTransactionStarted(ConnectionEventListener.java:713)
	at com.ibm.ejs.jms.JMSManagedSession.localTransactionStarted(JMSManagedSession.java:967)
	at com.ibm.ejs.jms.JMSManagedSession.enlist(JMSManagedSession.java:919)
	at com.ibm.ejs.jms.JMSMessageProducerHandle.enlist(JMSMessageProducerHandle.java:797)
	at com.ibm.ejs.jms.JMSMessageProducerHandle.send(JMSMessageProducerHandle.java:1168)
	at com.loyaltycentral.ejb.session.JobManagerEJBBean.submitJob(JobManagerEJBBean.java:149)
	at com.loyaltycentral.ejb.session.JobManagerEJBBean.submitJob(JobManagerEJBBean.java:129)
	at com.loyaltycentral.ejb.session.EJSRemoteStatelessJobManagerEJB_f60b1620.submitJob(EJSRemoteStatelessJobManagerEJB_f60b1620.java:112)
	at com.loyaltycentral.ejb.session._JobManagerEJB_Stub.submitJob(_JobManagerEJB_Stub.java:536)
	at com.loyaltycentral.service.CardManagementEJBBean.submitJob(CardManagementEJBBean.java:666)
	at com.loyaltycentral.service.client.EJSRemoteStatelessCardManagementEJB_2813c24d.submitJob(EJSRemoteStatelessCardManagementEJB_2813c24d.java:403)
	at com.loyaltycentral.service.client._CardManagementEJB_Stub.submitJob(_CardManagementEJB_Stub.java:745)
	at com.loyaltycentral.web.cardmgmt.CreateCardsAction.execute(CreateCardsAction.java:115)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
	at com.loyaltycentral.web.LcRequestProcessor.process(LcRequestProcessor.java:100)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
	at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
	at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
	at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

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

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