java.lang.IllegalStateException: Cannot enlist Resource for cleanup. A Global transaction is active.

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 itpub.net by Unknown author, 1 year ago
Cannot enlist Resource for cleanup. A Global transaction is active.
via Google Groups by R@j@Sekh@r, 2 years ago
Cannot enlist Resource for cleanup. LocalTransaction is shareable and resolver is Application.
via Oracle Community by 843830, 1 year ago
Cannot enlist Resource for cleanup. A Global transaction is active.
via hivmr.com by Unknown author, 1 year ago
Cannot enlist Resource for cleanup. A Global transaction is active.
via Oracle Community by 843854, 1 year ago
Cannot enlist Resource for cleanup. A Global transaction is active.
java.lang.IllegalStateException: Cannot enlist Resource for cleanup. A Global transaction is active.
at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.enlistForCleanup(LocalTranCoordImpl.java:489)
at com.ibm.ejs.j2c.LocalTransactionWrapper.enlist(LocalTransactionWrapper.java:646)
at com.ibm.ejs.j2c.ConnectionEventListener.localTransactionStarted(ConnectionEventListener.java:574)
at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processLocalTransactionStartedEvent(WSRdbManagedConnectionImpl.java:1660)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginLocalTransactionIfNecessary(WSJdbcConnection.java:447)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcConnection.java:608)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.createStatement(WSJdbcConnection.java:1069)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.createStatement(WSJdbcConnection.java:1048)
at com.in1.util.BaseDBBean.queryOne(BaseDBBean.java:93)
at com.in1.ap.business.para.DynamicPageUtil.getDp_define(DynamicPageUtil.java:74)
at com.in1.ap.business.para.DynamicPageUtil.getDynamicPageInfo(DynamicPageUtil.java:34)
at com.in1.ap.business.para.DynamicPage.getRemindList(DynamicPage.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

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.