BitronixSystemException: cannot suspend a Bitronix Transaction

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

BitronixSystemException: cannot suspend a Bitronix Transaction

Prabakaran K
This post has NOT been accepted by the mailing list yet.
Hi,

We are having JBPM workflow application which is using Bitronix transaction manager with 2 resources(Oracle & QPID).

JBPM 5.2.0 Final

JAR version List:

BTM:
btm-2.1.3.jar
btm-tomcat55-lifecycle-2.1.3.jar

Oracle:
ojdbc6.jar

Hibernate:
hibernate-3.2.6.ga.jar
hibernate-annotations-3.3.1.GA.jar
hibernate-commons-annotations-3.0.0.ga.jar
hibernate-core-3.3.2.GA.jar
hibernate-entitymanager-3.4.0.GA.jar

Ehcache:
ehcache-1.2.3.jar

QPID:
qpid-all.jar
qpid-client-2.7.1.jar
geronimo-jms_1.1_spec-1.0.jar
qpid-common-2.7.1.jar
commons-lang-2.2.jar
backport-util-concurrent-2.2.jar
mina-filter-ssl-1.0.1.jar
mina-core-1.0.1.jar
commons-collections-3.2.jar
log4j-1.2.12.jar
slf4j-api-1.4.0.jar
slf4j-log4j12-1.4.0.jar

We are getting below Exception. If any one faced same kind of issue, please help us to resolve the issue.
org.springframework.transaction.TransactionSystemException: JTA failure on suspend; nested exception is bitronix.tm.internal.BitronixSystemException: cannot suspend a Bitronix Transaction with GTRID [6A62706D2D6E6F6465322D70726F6400000000669FF45A0011ADE2], status=ACTIVE, 3 resource(s) enlisted (started Tue Jan 20 17:15:58 EST 1970), error=XAER_RMERR, extra error=ORA-25352
 at org.springframework.transaction.jta.JtaTransactionManager.doSuspend(JtaTransactionManager.java:936)
 at org.springframework.transaction.support.AbstractPlatformTransactionManager.suspend(AbstractPlatformTransactionManager.java:551)
 at org.springframework.transaction.support.AbstractPlatformTransactionManager.handleExistingTransaction(AbstractPlatformTransactionManager.java:422)
 at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:353)
 at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)
 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
 at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
 at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
 at com.workflow.event.service.WorkflowEventTrackerManagerImpl$$EnhancerByCGLIB$$6ec66fe6.createLog(<generated>)
 at com.workflow.event.service.WorkflowEventManagerImpl.logEventMessage(WorkflowEventManagerImpl.java:251)
 at com.workflow.event.service.WorkflowEventManagerImpl.publishEvent(WorkflowEventManagerImpl.java:186)
 at com.workflow.jbpm.event.handler.WorkflowEventWorkItemHandler.executeWorkItem(WorkflowEventWorkItemHandler.java:87)
 at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalExecuteWorkItem(JPAWorkItemManager.java:53)
 at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:105)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:185)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:150)
 at org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49)
 at org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
 at org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)
 at org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:188)
 at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:303)
 at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:168)
 at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:138)
 at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1079)
 at org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:306)
 at org.jbpm.workflow.instance.node.SubProcessNodeInstance.internalTrigger(SubProcessNodeInstance.java:121)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:185)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:150)
 at org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:47)
 at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:162)
 at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:143)
 at org.jbpm.workflow.instance.node.WorkItemNodeInstance.triggerCompleted(WorkItemNodeInstance.java:239)
 at org.jbpm.workflow.instance.node.WorkItemNodeInstance.workItemCompleted(WorkItemNodeInstance.java:301)
 at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:277)
 at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:326)
 at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.completeWorkItem(JPAWorkItemManager.java:119)
 at com.workflow.jbpm.event.handler.WorkflowEventWorkItemHandler.executeWorkItem(WorkflowEventWorkItemHandler.java:114)
 at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalExecuteWorkItem(JPAWorkItemManager.java:53)
 at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:105)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:185)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:150)
 at org.jbpm.workflow.instance.node.ActionNodeInstance.triggerCompleted(ActionNodeInstance.java:55)
 at org.jbpm.workflow.instance.node.ActionNodeInstance.internalTrigger(ActionNodeInstance.java:51)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:185)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:150)
 at org.jbpm.workflow.instance.node.ActionNodeInstance.triggerCompleted(ActionNodeInstance.java:55)
 at org.jbpm.workflow.instance.node.ActionNodeInstance.internalTrigger(ActionNodeInstance.java:51)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:185)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:150)
 at org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49)
 at org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41)
 at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
 at org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)
 at org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:188)
 at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:303)
 at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:168)
 at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:138)
 at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1079)
 at org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:306)
 at org.drools.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:119)
 at org.drools.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:38)
 at org.drools.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36)
 at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:345)
 at org.drools.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:223)
 at com.workflow.jbpm.service.KnowledgeSessionFactory.launchWorkflow(KnowledgeSessionFactory.java:561)
 at com.workflow.jbpm.service.KnowledgeSessionFactory$$FastClassByCGLIB$$552fcfe.invoke(<generated>)
 at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
 at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
 at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
 at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
 at com.workflow.jbpm.service.KnowledgeSessionFactory$$EnhancerByCGLIB$$9016719.launchWorkflow(<generated>)
 at com.workflow.jbpm.service.WorkflowManagerImpl.startProcess(WorkflowManagerImpl.java:119)
 at com.workflow.jbpm.service.WorkflowManagerImpl$$FastClassByCGLIB$$f174cb7a.invoke(<generated>)
 at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
 at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
 at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
 at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
 at com.workflow.jbpm.service.WorkflowManagerImpl$$EnhancerByCGLIB$$6eb2d56d.startProcess(<generated>)
 at com.workflow.web.webservice.WorkflowWebService.launchWorkflow(WorkflowWebService.java:90)
 at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:166)
 at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
 at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:55)
 at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
 at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
 at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:98)
 at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
 at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:104)
 at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:99)
 at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:452)
 at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:196)
 at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:220)
 at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:153)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 at org.apache.cxf.transport.servlet.AbstractCXFServlet.service(AbstractCXFServlet.java:211)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBinderValve.java:227)
 at org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:347)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
 at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:448)
 at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:399)
 at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
 at java.lang.Thread.run(Unknown Source)
Caused by: bitronix.tm.internal.BitronixSystemException: cannot suspend a Bitronix Transaction with GTRID [6A62706D2D6E6F6465322D70726F6400000000669FF45A0011ADE2], status=ACTIVE, 3 resource(s) enlisted (started Tue Jan 20 17:15:58 EST 1970), error=XAER_RMERR, extra error=ORA-25352
 at bitronix.tm.BitronixTransactionManager.suspend(BitronixTransactionManager.java:194)
 at org.springframework.transaction.jta.JtaTransactionManager.doJtaSuspend(JtaTransactionManager.java:955)
 at org.springframework.transaction.jta.JtaTransactionManager.doSuspend(JtaTransactionManager.java:933)
 ... 130 more
Caused by: oracle.jdbc.xa.OracleXAException
 at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1110)
 at oracle.jdbc.xa.client.OracleXAResource.end(OracleXAResource.java:436)
 at bitronix.tm.internal.XAResourceHolderState.end(XAResourceHolderState.java:172)
 at bitronix.tm.internal.XAResourceManager.suspend(XAResourceManager.java:149)
 at bitronix.tm.BitronixTransactionManager.suspend(BitronixTransactionManager.java:189)
 ... 132 more

Thanks and Regards,
Praba