org.jbpm.workflow.instance.WorkflowRuntimeException: [com.sample.bpmn.hello:1 - ?:1] -- No active JTA transaction on joinTransaction call

Google Groups | Swapnil Ugare | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    throws execption while start the process

    Google Groups | 1 year ago | Swapnil Ugare
    org.jbpm.workflow.instance.WorkflowRuntimeException: [com.sample.bpmn.hello:1 - ?:1] -- No active JTA transaction on joinTransaction call
  2. 0

    [JBPM-4609] DeploymentSynchronizer fails for CMT on Wildly when using CDI - JBoss Issue Tracker

    jboss.org | 2 years ago
    javax.persistence.TransactionRequiredException: No active JTA transaction on joinTransaction call

    Root Cause Analysis

    1. javax.persistence.TransactionRequiredException

      No active JTA transaction on joinTransaction call

      at org.hibernate.jpa.spi.AbstractEntityManagerImpl.joinTransaction()
    2. org.hibernate.jpa
      AbstractEntityManagerImpl.joinTransaction
      1. org.hibernate.jpa.spi.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:1605)[hibernate-entitymanager-4.3.11.Final.jar:4.3.11.Final]
      2. org.hibernate.jpa.spi.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:1568)[hibernate-entitymanager-4.3.11.Final.jar:4.3.11.Final]
      2 frames
    3. jBPM :: Audit
      JPAWorkingMemoryDbLogger.afterNodeLeft
      1. org.jbpm.process.audit.JPAWorkingMemoryDbLogger.joinTransaction(JPAWorkingMemoryDbLogger.java:246)[jbpm-audit-6.2.0.Final.jar:6.2.0.Final]
      2. org.jbpm.process.audit.JPAWorkingMemoryDbLogger.persist(JPAWorkingMemoryDbLogger.java:195)[jbpm-audit-6.2.0.Final.jar:6.2.0.Final]
      3. org.jbpm.process.audit.JPAWorkingMemoryDbLogger.afterNodeLeft(JPAWorkingMemoryDbLogger.java:120)[jbpm-audit-6.2.0.Final.jar:6.2.0.Final]
      3 frames
    4. Drools :: Core
      ProcessEventSupport.fireAfterNodeLeft
      1. org.drools.core.event.ProcessEventSupport.fireAfterNodeLeft(ProcessEventSupport.java:124)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    5. org.jbpm.workflow
      NodeInstanceImpl.trigger
      1. org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:373)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      2. org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:323)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      3. org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:73)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      4. org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:44)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      5. org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:171)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      5 frames
    6. org.jbpm.ruleflow
      RuleFlowProcessInstance.internalStart
      1. org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    7. org.jbpm.process
      ProcessInstanceImpl.start
      1. org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:236)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    8. org.jbpm.workflow
      WorkflowProcessInstanceImpl.start
      1. org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:389)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    9. org.jbpm.process
      ProcessRuntimeImpl.startProcess
      1. org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:195)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      2. org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:177)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      3. org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:169)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      3 frames
    10. Drools :: Core
      AbstractInterceptor.executeNext
      1. org.drools.core.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:1901)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      2. org.drools.core.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:122)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      3. org.drools.core.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:40)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      4. org.drools.core.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      5. org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      5 frames
    11. Drools :: Persistence :: JPA
      SingleSessionCommandService$TransactionInterceptor.execute
      1. org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:548)[drools-persistence-jpa-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    12. Drools :: Core
      AbstractInterceptor.executeNext
      1. org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    13. Drools :: Persistence :: JPA
      OptimisticLockRetryInterceptor.execute
      1. org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:73)[drools-persistence-jpa-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    14. Drools :: Core
      AbstractInterceptor.executeNext
      1. org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    15. Drools :: Persistence :: JPA
      SingleSessionCommandService.execute
      1. org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:79)[drools-persistence-jpa-6.2.0.Final.jar:6.2.0.Final]
      2. org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:358)[drools-persistence-jpa-6.2.0.Final.jar:6.2.0.Final]
      2 frames
    16. Drools :: Core
      CommandBasedStatefulKnowledgeSession.startProcess
      1. org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:242)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    17. com.servlets
      startProcess.doPost
      1. com.servlets.startProcess.doPost(startProcess.java:146)[classes:]
      1 frame
    18. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
      2 frames
    19. Undertow Servlet
      ServletDispatchingHandler.handleRequest
      1. io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      2. io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      3. io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      3 frames
    20. WildFly: Undertow
      SecurityContextAssociationHandler.handleRequest
      1. org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
      1 frame
    21. Undertow Core
      PredicateHandler.handleRequest
      1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      1 frame
    22. Undertow Servlet
      ServletAuthenticationCallHandler.handleRequest
      1. io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      2. io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:56)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      2 frames
    23. Undertow Core
      AbstractConfidentialityHandler.handleRequest
      1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      2. io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      2 frames
    24. Undertow Servlet
      ServletConfidentialityConstraintHandler.handleRequest
      1. io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:61)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      1 frame
    25. Undertow Core
      AuthenticationMechanismsHandler.handleRequest
      1. io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      1 frame
    26. Undertow Servlet
      CachedAuthenticatedSessionHandler.handleRequest
      1. io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      1 frame
    27. Undertow Core
      PredicateHandler.handleRequest
      1. io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      2. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      2 frames
    28. WildFly: Undertow
      JACCContextIdHandler.handleRequest
      1. org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
      1 frame
    29. Undertow Core
      PredicateHandler.handleRequest
      1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      2. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      2 frames
    30. Undertow Servlet
      ServletInitialHandler$1.handleRequest
      1. io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:240)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      2. io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      3. io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      4. io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      4 frames
    31. Undertow Core
      HttpServerExchange$1.run
      1. io.undertow.server.Connectors.executeRootHandler(Connectors.java:177)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      2. io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:727)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      2 frames
    32. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[rt.jar:1.8.0_66]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[rt.jar:1.8.0_66]
      3. java.lang.Thread.run(Unknown Source)[rt.jar:1.8.0_66]
      3 frames