javax.transaction.RollbackException: Transaction already marked for rollback

bonitasoft.com | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. javax.transaction.RollbackException

    Transaction already marked for rollback

    at org.objectweb.jotm.TransactionImpl.enlistResource()
  2. JOTM : A Java Open Transaction Manager
    TransactionImpl.enlistResource
    1. org.objectweb.jotm.TransactionImpl.enlistResource(TransactionImpl.java:481)
    1 frame
  3. JOnAS :: APIs :: Services Interfaces
    ConnectionManager.getConnection
    1. org.objectweb.jonas.dbm.ConnectionManager.getConnection(ConnectionManager.java:930)
    2. org.objectweb.jonas.dbm.ConnectionManager.getConnection(ConnectionManager.java:891)
    2 frames
  4. org.objectweb.jorm
    MapperJDBC.getConnection
    1. org.objectweb.jorm.mapper.rdb.lib.MapperJDBC.getConnection(MapperJDBC.java:77)
    1 frame
  5. org.objectweb.jonas_ejb
    RdbFactory.getConnection
    1. org.objectweb.jonas_ejb.container.jorm.RdbFactory.getConnection(RdbFactory.java:60)
    1 frame
  6. org.objectweb.jonas_gen
    JOnASJiapConfig_181684627LocalHome.findByName
    1. org.objectweb.jonas_gen.jiap.manager.JOnASJiapConfig_181684627Bean.ejbFindByName(JOnASJiapConfig_181684627Bean.java:446)
    2. org.objectweb.jonas_gen.jiap.manager.JOnASJiapConfig_181684627LocalHome.findByName(JOnASJiapConfig_181684627LocalHome.java:213)
    2 frames
  7. jiap.manager
    UserManagerBean.getUser
    1. jiap.manager.UserManagerBean.getUserManager(UserManagerBean.java:110)
    2. jiap.manager.UserManagerBean.getUser(UserManagerBean.java:342)
    2 frames
  8. org.objectweb.jonas_gen
    JOnASUserManager_1679431991Remote.getUser
    1. org.objectweb.jonas_gen.jiap.manager.JOnASUserManager_1679431991Remote.getUser(JOnASUserManager_1679431991Remote.java:672)
    1 frame
  9. hero.hook
    AffectationPorteurDdeHook.onReady
    1. hero.hook.AffectationPorteurDdeHook.onReady(AffectationPorteurDdeHook.java:108)
    1 frame
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:585)
    4 frames
  11. hero.hook
    JavaHook.execute
    1. hero.hook.JavaHook.execute(JavaHook.java:48)
    1 frame
  12. hero.session
    ProjectSessionBean.importInstance
    1. hero.session.ProjectSessionBean.executeOnReadyHook(ProjectSessionBean.java:6454)
    2. hero.session.ProjectSessionBean.importInstance(ProjectSessionBean.java:6244)
    2 frames
  13. org.objectweb.jonas_gen
    JOnASProjectSession1295237069Local.importInstance
    1. org.objectweb.jonas_gen.hero.interfaces.JOnASProjectSession1295237069Local.importInstance(JOnASProjectSession1295237069Local.java:5086)
    1 frame
  14. hero.session
    ProjectSessionBean.instantiateProject
    1. hero.session.ProjectSessionBean.instantiateProject(ProjectSessionBean.java:6825)
    1 frame
  15. org.objectweb.jonas_gen
    JOnASProjectSession1295237069Remote.instantiateProject
    1. org.objectweb.jonas_gen.hero.interfaces.JOnASProjectSession1295237069Remote.instantiateProject(JOnASProjectSession1295237069Remote.java:7680)
    1 frame
  16. mc.formgenerator.bonita
    BonitaProjectExecutor.startBonitaProject
    1. mc.formgenerator.bonita.BonitaProjectExecutor.instanciateProject(BonitaProjectExecutor.java:157)
    2. mc.formgenerator.bonita.BonitaProjectExecutor.startBonitaProject(BonitaProjectExecutor.java:116)
    2 frames
  17. mc.formgenerator.servlets
    ServletBonitaForm.doPost
    1. mc.formgenerator.servlets.ServletBonitaForm.callExecutor(ServletBonitaForm.java:441)
    2. mc.formgenerator.servlets.ServletBonitaForm.doPost(ServletBonitaForm.java:707)
    2 frames
  18. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    2 frames
  19. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:585)
    4 frames
  20. Glassfish Core
    SecurityUtil$1.run
    1. org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
    1 frame
  21. Java RT
    Subject.doAsPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    2. javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    2 frames
  22. Glassfish Core
    ApplicationFilterChain$1.run
    1. org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
    2. org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
    3. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
    4. org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
    5. org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
    5 frames
  23. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  24. Glassfish Core
    AuthenticatorBase.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
    2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    4. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
    4 frames
  25. org.objectweb.jonas
    ResetAuthenticationValve.invoke
    1. org.objectweb.jonas.web.catalina55.ResetAuthenticationValve.invoke(ResetAuthenticationValve.java:91)
    1 frame
  26. 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.authenticator.SingleSignOn.invoke(SingleSignOn.java:419)
    4. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    5. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    5 frames
  27. 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
  28. Tomcat Util
    ThreadPool$ControlRunnable.run
    1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    1 frame
  29. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:595)
    1 frame