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 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 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 Coderanch by Aurelio Calegari, 1 year ago
Local transaction already has 1 non-XA Resource: cannot add more resources.
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.resource.PoolManagerImpl.registerResource(PoolManagerImpl.java:196)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:172)
at com.sun.enterprise.resource.JdbcDataSource.internalGetConnection(JdbcDataSource.java:241)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.