java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction.

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 807574, 1 year ago
cannot add non-XA Resource to global JTS transaction.
via coderanch.com by Unknown author, 2 years ago
Local transaction already has 1 non-XA Resource: cannot add more resources.
via Coderanch by Aurelio Calegari, 11 months ago
Local transaction already has 1 non-XA Resource: cannot add more resources.
via coderanch.com 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 hivmr.com by Unknown author, 1 year ago
Local transaction already has 1 non-XA Resource: cannot add more resources.
java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction.
at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.enlistResource(J2EETransactionManagerOpt.java:171)
at com.sun.enterprise.resource.ResourceManagerImpl.registerResource(ResourceManagerImpl.java:97)
at com.sun.enterprise.resource.ResourceManagerImpl.enlistResource(ResourceManagerImpl.java:71)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:142)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:202)
at com.stc.gjc.spi.DataSource.getConnection(DataSource.java:67)
at com.stc.connector.oracleadapter.base.SessionImpl.connect(SessionImpl.java:130)
at com.stc.connector.oracleadapter.OracleSession.open(OracleSession.java:98)
at com.stc.connector.oracleadapter.OracleConnector.open(OracleConnector.java:90)
at com.stc.connector.oracleadapter.appconn.OracleApplicationConnection.(OracleApplicationConnection.java:63)
at com.stc.connector.oracleadapter.appconn.OracleApplicationConnection.(OracleApplicationConnection.java:50)
at com.stc.connector.oracleadapter.appconn.OracleApplicationConnectionFactory.getConnection(OracleApplicationConnectionFactory.java:133)
at com.stc.oracle.runtime.ejb.OracleEWayRuntimeHandler.initializeService(OracleEWayRuntimeHandler.java:256)

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.