javax.transaction.RollbackException: Already marked for rollback TransactionImpl:XidImpl

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 runawfe by legza
, 1 year ago
Already marked for rollback TransactionImpl:XidImpl
via sourceforge.net by Unknown author, 1 year ago
Already marked for rollback TransactionImpl:XidImpl[FormatId=257, GlobalId=qa04.tps.main/4589, BranchQual=, localId=4589]
via Oracle Community by 843830, 1 year ago
Already marked for rollback TransactionImpl:XidImpl[FormatId=257, GlobalId=WWANDY/15, BranchQual=, localId=15]
via JIRA by Gunter Zeilinger, 1 year ago
Already marked for rollback TransactionImpl:XidImpl[FormatId=257, GlobalId=hal.gwi-ag.com/20, BranchQual=, localId=20]
via Oracle Community by 843830, 1 year ago
Already marked for rollback TransactionImpl:XidImpl[FormatId=257, GlobalId=iadd/27838, BranchQual=, localId=27838]
javax.transaction.RollbackException: Already marked for rollback TransactionImpl:XidImpl
at net.sf.hibernate.transaction.JTATransaction.begin(JTATransaction.java:170)
at net.sf.hibernate.transaction.JTATransactionFactory.beginTransaction(JTATransactionFactory.java:58)
at net.sf.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:2252)
at org.jbpm.persistence.hibernate.HibernateSession.beginTransaction(HibernateSession.java:51)
at org.jbpm.persistence.hibernate.SequenceBlockIdGenerator.syncWithDB(SequenceBlockIdGenerator.java:40)
at org.jbpm.persistence.hibernate.SequenceBlockIdGenerator.getNextId(SequenceBlockIdGenerator.java:131)
at org.jbpm.persistence.hibernate.SequenceBlockIdGenerator.getNextId(SequenceBlockIdGenerator.java:33)
at org.jbpm.persistence.hibernate.ConfigurableIdGenerator.generate(ConfigurableIdGenerator.java:48)
at net.sf.hibernate.impl.SessionImpl.saveWithGeneratedIdentifier(SessionImpl.java:776)
at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:749)
at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1398)
at net.sf.hibernate.engine.Cascades$4.cascade(Cascades.java:114)
at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:436)
at net.sf.hibernate.engine.Cascades.cascadeCollection(Cascades.java:526)
at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:452)
at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:503)
at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:482)
at net.sf.hibernate.impl.SessionImpl.preFlushEntities(SessionImpl.java:2701)
at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2271)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2260)
at ru.runa.commons.hibernate.HibernateSessionFactory.closeSession(HibernateSessionFactory.java:136)
at ru.runa.wf.jbpm.hibernate.JbpmSessionFactory.closePersistenceSession(JbpmSessionFactory.java:59)
at org.jbpm.impl.DefaultServiceFactory.closeService(DefaultServiceFactory.java:53)
at org.jbpm.impl.AbstractService.close(AbstractService.java:23)
at org.jbpm.impl.ExecutionReadServiceImpl.close(ExecutionReadServiceImpl.java:16)
at ru.runa.wf.logic.JbpmCommonLogic.tryToCloseService(JbpmCommonLogic.java:121)
at ru.runa.wf.logic.JbpmExecutionLogic.completeTask(JbpmExecutionLogic.java:356)
at ru.runa.wf.service.impl.ejb.JbpmExecutionServiceBean.compliteTask(JbpmExecutionServiceBean.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
at org.jboss.ejb.Container.invoke(Container.java:954)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
at ru.runa.wf.delegate.impl.ExecutionServiceDelegateLocalImpl.compliteTask(ExecutionServiceDelegateLocalImpl.java:213)
at ru.runa.wf.web.action.SubmitTaskFormAction.executeProcessFromAction(SubmitTaskFormAction.java:69)
at ru.runa.wf.web.action.BaseProcessFormAction.execute(BaseProcessFormAction.java:72)
at ru.runa.wf.web.action.SubmitTaskFormAction.execute(SubmitTaskFormAction.java:55)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at ru.runa.common.web.UTF8RequestProcessor.process(UTF8RequestProcessor.java:40)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at ru.runa.common.web.filter.HibernateSessionGuardFilter.doFilter(HibernateSessionGuardFilter.java:36)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at ru.runa.af.web.filter.NTLMFilter.doFilter(NTLMFilter.java:60)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at ru.runa.af.web.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at java.lang.Thread.run(Unknown Source)

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.