java.sql.SQLException: enlist: caught Exception

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

javax.transaction.xa.XAException: com.microsoft.sqlserver.jdbc.SQLServerException: The function START: failed. No transaction cookie was returned.
at com.microsoft.sqlserver.jdbc.SQLServerXAResource.DTC_XA_Interface(SQLServerXAResource.java:647)
at com.microsoft.sqlserver.jdbc.SQLServerXAResource.start(SQLServerXAResource.java:679)
at com.ibm.ws.rsadapter.spi.WSRdbXaResourceImpl.start(WSRdbXaResourceImpl.java:1531)
at com.ibm.ejs.j2c.XATransactionWrapper.start(XATransactionWrapper.java:1479)
at com.ibm.ws.Transaction.JTA.JTAResourceBase.start(JTAResourceBase.java:157)
at com.ibm.tx.jta.impl.RegisteredResources.startRes(RegisteredResources.java:1036)
at com.ibm.ws.tx.jta.RegisteredResources.enlistResource(RegisteredResources.java:1117)
at com.ibm.ws.tx.jta.TransactionImpl.enlistResource(TransactionImpl.java:2226)
at com.ibm.tx.jta.embeddable.impl.EmbeddableTranManagerSet.enlist(EmbeddableTranManagerSet.java:157)
at com.ibm.ejs.j2c.XATransactionWrapper.enlist(XATransactionWrapper.java:733)
at com.ibm.ejs.j2c.ConnectionManager.lazyEnlist(ConnectionManager.java:2697)
at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.lazyEnlist(WSRdbManagedConnectionImpl.java:2606)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcConnection.java:744)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.createStatement(WSJdbcConnection.java:1675)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.createStatement(WSJdbcConnection.java:1653)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:390)
at com.lombardisoftware.server.ejb.runtime.RuntimeServicesCore.getActiveBpdInstanceMeasures(RuntimeServicesCore.java:2200)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.lombardisoftware.utility.spring.TransactionInterceptor$2.call(TransactionInterceptor.java:67)
at com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport.executeInExistingTransaction(ProgrammaticTransactionSupport.java:641)
at com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport.execute(ProgrammaticTransactionSupport.java:342)
at com.lombardisoftware.utility.spring.TransactionInterceptor.invoke(TransactionInterceptor.java:65)
at com.lombardisoftware.utility.spring.CoreEntryInterceptor.invoke(CoreEntryInterceptor.java:44)
at com.lombardisoftware.utility.spring.PSCoreEntryInterceptor.invoke(PSCoreEntryInterceptor.java:14)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.sun.proxy.$Proxy93.getActiveBpdInstanceMeasures(Unknown Source)
at com.lombardisoftware.server.ejb.runtime.RuntimeServicesBean$55.execute(RuntimeServicesBean.java:779)
at com.lombardisoftware.server.ejb.runtime.RuntimeServicesBean$55.execute(RuntimeServicesBean.java:777)
at com.lombardisoftware.server.ejb.EjbServerUtils.handleEjbCall(EjbServerUtils.java:86)
at com.lombardisoftware.server.ejb.runtime.RuntimeServicesBean.handleEjbCall(RuntimeServicesBean.java:50)
at com.lombardisoftware.server.ejb.runtime.RuntimeServicesBean.getActiveBpdInstanceMeasures(RuntimeServicesBean.java:777)
at com.lombardisoftware.server.ejb.runtime.EJSRemoteStatelessRuntimeServices_56b342c9.getActiveBpdInstanceMeasures(Unknown Source)
at com.lombardisoftware.server.ejb.runtime._RuntimeServices_Stub.getActiveBpdInstanceMeasures(_RuntimeServices_Stub.java:2973)
at com.lombardisoftware.client.delegate.RuntimeServicesDelegateDefault$55.run(RuntimeServicesDelegateDefault.java:1498)
at java.security.AccessController.doPrivileged(AccessController.java:327)
at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:197)
at com.lombardisoftware.client.delegate.RuntimeServicesDelegateDefault.getActiveBpdInstanceMeasures(RuntimeServicesDelegateDefault.java:1495)
at com.lombardisoftware.bpd.runtime.tracking.cache.ProcessInstanceActivityCacheSynchronizer.syncCache(ProcessInstanceActivityCacheSynchronizer.java:62)
at com.lombardisoftware.bpd.runtime.tracking.ejb.AtRiskTrackingHandlerBean.process(AtRiskTrackingHandlerBean.java:71)
at com.ibm.websphere.scheduler.EJSRemoteStatelessAtRiskTrackingHandler_973c1226.process(Unknown Source)
at com.ibm.websphere.scheduler._TaskHandler_Stub.process(_TaskHandler_Stub.java:269)
at com.lombardisoftware.bpd.runtime.tracking.ejb.AtRiskTrackingStartupBean$AtRiskTrackingRunnable.run(AtRiskTrackingStartupBean.java:143)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:450)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:328)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:161)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:109)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:191)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:215)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:906)
at com.lombardisoftware.bpd.runtime.tracking.ejb.AtRiskTrackingStartupBean$AtRiskTrackingDaemonThreadFactory$1$1.run(AtRiskTrackingStartupBean.java:89)
at com.lombardisoftware.bpd.runtime.tracking.ejb.AtRiskTrackingStartupBean$AtRiskTrackingDaemonThreadFactory$1.run(AtRiskTrackingStartupBean.java:86)
at java.lang.Thread.run(Thread.java:796)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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