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

runawfe | legza | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    JTATransaction error

    runawfe | 7 years ago | legza
    javax.transaction.RollbackException: Already marked for rollback TransactionImpl:XidImpl
  2. 0

    Already the initial load of http://localhost:8080/dcm4chee-arr/main.seam fails with: {noformat} java.lang.RuntimeException: org.hibernate.TransactionException: Could not register synchronization at org.jboss.ejb3.stateful.StatefulBeanContext.remove(StatefulBeanContext.java:273) at org.jboss.ejb3.AbstractPool.remove(AbstractPool.java:171) at org.jboss.ejb3.cache.simple.SimpleStatefulCache.remove(SimpleStatefulCache.java:299) at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:89) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188) at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) at org.dcm4chee.arr.ejb.$Proxy106.find(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) at org.jboss.seam.Component.callComponentMethod(Component.java:1334) at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1293) at org.jboss.seam.Component.getInstance(Component.java:1260) at org.jboss.seam.Component.getInstance(Component.java:1246) at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134) at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65) at com.sun.el.parser.AstValue.getValue(AstValue.java:106) at com.sun.el.parser.AstEqual.getValue(AstEqual.java:41) at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192) at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56) at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:822) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:231) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 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.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) 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.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 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.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: org.hibernate.TransactionException: Could not register synchronization at org.hibernate.transaction.CMTTransaction.registerSynchronization(CMTTransaction.java:159) at org.hibernate.ejb.EntityManagerImpl.close(EntityManagerImpl.java:59) at org.jboss.ejb3.stateful.StatefulBeanContext.closeExtendedPCs(StatefulBeanContext.java:284) at org.jboss.ejb3.stateful.StatefulBeanContext.remove(StatefulBeanContext.java:268) ... 55 more Caused by: javax.transaction.RollbackException: Already marked for rollback TransactionImpl:XidImpl[FormatId=257, GlobalId=hal.gwi-ag.com/20, BranchQual=, localId=20] at org.jboss.tm.TransactionImpl.registerSynchronization(TransactionImpl.java:635) at org.hibernate.transaction.CMTTransaction.registerSynchronization(CMTTransaction.java:156) ... 58 more {noformat}

    JIRA | 1 decade ago | Gunter Zeilinger
    java.lang.RuntimeException: org.hibernate.TransactionException: Could not register synchronization
  3. 0

    db connection error

    Oracle Community | 1 decade ago | 843830
    javax.transaction.RollbackException: Already marked for rollback TransactionImpl:XidImpl[FormatId=257, GlobalId=WWANDY/15, BranchQual=, localId=15]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate / Mailing Lists

    sourceforge.net | 1 year ago
    org.hibernate.TransactionException: Could not register synchronization
  6. 0

    Unable to passivate due to ctx lock warning on JBoss 4.0.2

    Oracle Community | 1 decade ago | 843830
    javax.transaction.RollbackException: Already marked for rollback TransactionImpl:XidImpl[FormatId=257, GlobalId=iadd/27838, BranchQual=, localId=27838]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.transaction.RollbackException

      Already marked for rollback TransactionImpl:XidImpl

      at org.jboss.tm.TransactionImpl.registerSynchronization()
    2. JBoss Transaction 7.1.0 SPI
      TransactionImpl.registerSynchronization
      1. org.jboss.tm.TransactionImpl.registerSynchronization(TransactionImpl.java:635)
      1 frame
    3. net.sf.hibernate
      SessionImpl.beginTransaction
      1. net.sf.hibernate.transaction.JTATransaction.begin(JTATransaction.java:170)
      2. net.sf.hibernate.transaction.JTATransactionFactory.beginTransaction(JTATransactionFactory.java:58)
      3. net.sf.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:2252)
      3 frames
    4. org.jbpm.persistence
      ConfigurableIdGenerator.generate
      1. org.jbpm.persistence.hibernate.HibernateSession.beginTransaction(HibernateSession.java:51)
      2. org.jbpm.persistence.hibernate.SequenceBlockIdGenerator.syncWithDB(SequenceBlockIdGenerator.java:40)
      3. org.jbpm.persistence.hibernate.SequenceBlockIdGenerator.getNextId(SequenceBlockIdGenerator.java:131)
      4. org.jbpm.persistence.hibernate.SequenceBlockIdGenerator.getNextId(SequenceBlockIdGenerator.java:33)
      5. org.jbpm.persistence.hibernate.ConfigurableIdGenerator.generate(ConfigurableIdGenerator.java:48)
      5 frames
    5. net.sf.hibernate
      SessionImpl.flush
      1. net.sf.hibernate.impl.SessionImpl.saveWithGeneratedIdentifier(SessionImpl.java:776)
      2. net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:749)
      3. net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1398)
      4. net.sf.hibernate.engine.Cascades$4.cascade(Cascades.java:114)
      5. net.sf.hibernate.engine.Cascades.cascade(Cascades.java:436)
      6. net.sf.hibernate.engine.Cascades.cascadeCollection(Cascades.java:526)
      7. net.sf.hibernate.engine.Cascades.cascade(Cascades.java:452)
      8. net.sf.hibernate.engine.Cascades.cascade(Cascades.java:503)
      9. net.sf.hibernate.engine.Cascades.cascade(Cascades.java:482)
      10. net.sf.hibernate.impl.SessionImpl.preFlushEntities(SessionImpl.java:2701)
      11. net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2271)
      12. net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2260)
      12 frames
    6. ru.runa.commons
      HibernateSessionFactory.closeSession
      1. ru.runa.commons.hibernate.HibernateSessionFactory.closeSession(HibernateSessionFactory.java:136)
      1 frame
    7. ru.runa.wf
      JbpmSessionFactory.closePersistenceSession
      1. ru.runa.wf.jbpm.hibernate.JbpmSessionFactory.closePersistenceSession(JbpmSessionFactory.java:59)
      1 frame
    8. org.jbpm.impl
      ExecutionReadServiceImpl.close
      1. org.jbpm.impl.DefaultServiceFactory.closeService(DefaultServiceFactory.java:53)
      2. org.jbpm.impl.AbstractService.close(AbstractService.java:23)
      3. org.jbpm.impl.ExecutionReadServiceImpl.close(ExecutionReadServiceImpl.java:16)
      3 frames
    9. ru.runa.wf
      JbpmExecutionServiceBean.compliteTask
      1. ru.runa.wf.logic.JbpmCommonLogic.tryToCloseService(JbpmCommonLogic.java:121)
      2. ru.runa.wf.logic.JbpmExecutionLogic.completeTask(JbpmExecutionLogic.java:356)
      3. ru.runa.wf.service.impl.ejb.JbpmExecutionServiceBean.compliteTask(JbpmExecutionServiceBean.java:161)
      3 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    11. JBoss Application Server Server
      StatelessSessionContainer$ContainerInterceptor.invoke
      1. org.jboss.invocation.Invocation.performCall(Invocation.java:359)
      2. org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
      2 frames
    12. JBoss Application Server Connector
      CachedConnectionInterceptor.invoke
      1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
      1 frame
    13. JBoss Application Server Server
      StatelessSessionProxy.invoke
      1. org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
      2. org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
      3. org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
      4. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
      5. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
      6. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
      7. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
      8. org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
      9. org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
      10. org.jboss.ejb.Container.invoke(Container.java:954)
      11. org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
      12. org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
      12 frames
    14. Unknown
      $Proxy111.compliteTask
      1. $Proxy111.compliteTask(Unknown Source)
      1 frame
    15. ru.runa.wf
      SubmitTaskFormAction.execute
      1. ru.runa.wf.delegate.impl.ExecutionServiceDelegateLocalImpl.compliteTask(ExecutionServiceDelegateLocalImpl.java:213)
      2. ru.runa.wf.web.action.SubmitTaskFormAction.executeProcessFromAction(SubmitTaskFormAction.java:69)
      3. ru.runa.wf.web.action.BaseProcessFormAction.execute(BaseProcessFormAction.java:72)
      4. ru.runa.wf.web.action.SubmitTaskFormAction.execute(SubmitTaskFormAction.java:55)
      4 frames
    16. struts
      RequestProcessor.process
      1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
      2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
      2 frames
    17. ru.runa.common
      UTF8RequestProcessor.process
      1. ru.runa.common.web.UTF8RequestProcessor.process(UTF8RequestProcessor.java:40)
      1 frame
    18. struts
      ActionServlet.doPost
      1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      2. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
      2 frames
    19. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      2 frames
    20. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    21. ru.runa.common
      HibernateSessionGuardFilter.doFilter
      1. ru.runa.common.web.filter.HibernateSessionGuardFilter.doFilter(HibernateSessionGuardFilter.java:36)
      1 frame
    22. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    23. ru.runa.af
      NTLMFilter.doFilter
      1. ru.runa.af.web.filter.NTLMFilter.doFilter(NTLMFilter.java:60)
      1 frame
    24. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    25. ru.runa.af
      AuthenticationFilter.doFilter
      1. ru.runa.af.web.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:61)
      1 frame
    26. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    27. JBoss Application Server Tomcat
      ReplyHeaderFilter.doFilter
      1. org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      1 frame
    28. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      4 frames
    29. JBoss Application Server Tomcat
      JaccContextValve.invoke
      1. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
      2. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      2 frames
    30. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      3. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      4. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      4 frames
    31. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      4 frames
    32. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      1 frame
    33. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame