java.sql.SQLException

enlist: caught Exception

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2571

  • enlist: caught Exception
  • enlist: caught Exception
  • via Google Groups by Tuft, 9 months ago
    enlist: caught Exception
  • Stack trace

    • java.sql.SQLException: enlist: caught Exception at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.translate(SQLStateSQLExceptionTranslator.java:124) at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.translate(SQLErrorCodeSQLExceptionTranslator.java:322) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:407) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:458) 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 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) 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 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 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 org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 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 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:929) at com.lombardisoftware.bpd.runtime.tracking.ejb.AtRiskTrackingStartupBean$AtRiskTrackingDaemonThreadFactory$1$1.run(AtRiskTrackingStartupBean.java:89) at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:93) at com.lombardisoftware.bpd.runtime.tracking.ejb.AtRiskTrackingStartupBean$AtRiskTrackingDaemonThreadFactory$1.run(AtRiskTrackingStartupBean.java:86) at java.lang.Thread.run(Thread.java:796) Caused by: java.sql.SQLException: enlist: caught Exception at com.ibm.ws.rsadapter.AdapterUtil.toSQLException(AdapterUtil.java:1699) at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcConnection.java:814) 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) ... 47 more Caused by: javax.resource.ResourceException: enlist: caught Exception at com.ibm.ejs.j2c.XATransactionWrapper.enlist(XATransactionWrapper.java:832) 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) ... 50 more Caused by: javax.transaction.SystemException: XAResource start association error:XAER_RMERR at com.ibm.tx.jta.impl.RegisteredResources.startRes(RegisteredResources.java:1087) 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) ... 53 more Caused by: 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) ... 57 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago