java.lang.IllegalStateException: Local transaction already has 1 non-XA Resource: cannot add more resources

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 Oracle Community by 807581, 1 year ago
Local transaction already has 1 non-XA Resource: cannot add more resources
via Oracle Community by 843829, 1 year ago
Local transaction already has 1 non-XA Resource: cannot add more resources
via Oracle Community by 807581, 1 year ago
Local transaction already has 1 non-XA Resource: cannot add more resources
via co.jp by Unknown author, 2 years ago
Local transaction already has 1 non-XA Resource: cannot add more resources
via hivmr.com by Unknown author, 1 year ago
Local transaction already has 1 non-XA Resource: cannot add more resources
via Oracle Community by viniciusjssouza, 1 year ago
cannot add non-XA Resource to global JTS transaction.
java.lang.IllegalStateException: Local transaction already has 1 non-XA Resource: cannot add more resources
at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.enlistResource(J2EETransactionManagerOpt.java:101)
at com.sun.enterprise.jms.ConnectionWrapperBase.registerResourceHandle(ConnectionWrapperBase.java:242)
at com.sun.enterprise.jms.ConnectionWrapperBase.setupResourceHandle(ConnectionWrapperBase.java:259)
at com.sun.enterprise.jms.ConnectionWrapperEjb.createTopicSession(ConnectionWrapperEjb.java:116)
at com.ocs.acs.process.impl.ACSProcessImpl.publishPATransData(ACSProcessImpl.java:358)
at com.ocs.acs.process.impl.ACSProcess102.sendPATransReqData(ACSProcess102.java:1232)
at com.ocs.acs.process.impl.ACSProcess102.preparePARes(ACSProcess102.java:1085)
at com.ocs.acs.process.impl.ACSProcess102.generatePARes(ACSProcess102.java:1052)
at com.ocs.acs.process.impl.ACSProcess102.getPARes(ACSProcess102.java:1123)
at com.ocs.acs.process.impl.ACSProcess102.generatePARes(ACSProcess102.java:882)
at com.ocs.acs.process.ACSProcessBean.generatePARes(Unknown Source)
at com.ocs.acs.process.ACSProcessBean_EJBObjectImpl.generatePARes(ACSProcessBean_EJBObjectImpl.java:130)
at com.ocs.acs.process._ACSProcess_Stub.generatePARes(Unknown Source)
at com.ocs.acs.gateway.ACSGatewayBean.generatePARes(Unknown Source)
at com.ocs.acs.gateway.ACSGatewayBean.processAuthentication(Unknown Source)
at com.ocs.acs.gateway.ACSGatewayBean_EJBObjectImpl.processAuthentication(ACSGatewayBean_EJBObjectImpl.java:89)
at com.ocs.acs.gateway._ACSGateway_Stub.processAuthentication(Unknown Source)
at com.ocs.acs.servlet.ACSHomeServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)

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.