org.jbpm.workflow.instance.WorkflowRuntimeException

[com.sample.bpmn.hello:1 - ?:1] -- No active JTA transaction on joinTransaction call

Solutions on the web34

  • via Google Groups by Swapnil Ugare, 1 year ago
    [com.sample.bpmn.hello:1 - ?:1] -- No active JTA transaction on joinTransaction call
  • [hiring:10 - :1] -- No active JTA transaction on joinTransaction call
  • [com.sample.bpmn.hello:2 - :2] -- Exception when trying to evaluate constraint in split
  • Stack trace

    • org.jbpm.workflow.instance.WorkflowRuntimeException: [com.sample.bpmn.hello:1 - ?:1] -- No active JTA transaction on joinTransaction call at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:177)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:236)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:389)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:195)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:177)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:169)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final] at org.drools.core.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:1901)[drools-core-6.2.0.Final.jar:6.2.0.Final] at org.drools.core.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:122)[drools-core-6.2.0.Final.jar:6.2.0.Final] at org.drools.core.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:40)[drools-core-6.2.0.Final.jar:6.2.0.Final] at org.drools.core.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36)[drools-core-6.2.0.Final.jar:6.2.0.Final] at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)[drools-core-6.2.0.Final.jar:6.2.0.Final] at org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:548)[drools-persistence-jpa-6.2.0.Final.jar:6.2.0.Final] at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)[drools-core-6.2.0.Final.jar:6.2.0.Final] at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:73)[drools-persistence-jpa-6.2.0.Final.jar:6.2.0.Final] at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)[drools-core-6.2.0.Final.jar:6.2.0.Final] at org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:79)[drools-persistence-jpa-6.2.0.Final.jar:6.2.0.Final] at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:358)[drools-persistence-jpa-6.2.0.Final.jar:6.2.0.Final] at org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:242)[drools-core-6.2.0.Final.jar:6.2.0.Final] at com.servlets.startProcess.doPost(startProcess.java:146)[classes:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:56)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:61)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:240)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:177)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:727)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[rt.jar:1.8.0_66] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[rt.jar:1.8.0_66] at java.lang.Thread.run(Unknown Source)[rt.jar:1.8.0_66] Caused by: javax.persistence.TransactionRequiredException: No active JTA transaction on joinTransaction call at org.hibernate.jpa.spi.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:1605)[hibernate-entitymanager-4.3.11.Final.jar:4.3.11.Final] at org.hibernate.jpa.spi.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:1568)[hibernate-entitymanager-4.3.11.Final.jar:4.3.11.Final] at org.jbpm.process.audit.JPAWorkingMemoryDbLogger.joinTransaction(JPAWorkingMemoryDbLogger.java:246)[jbpm-audit-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.process.audit.JPAWorkingMemoryDbLogger.persist(JPAWorkingMemoryDbLogger.java:195)[jbpm-audit-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.process.audit.JPAWorkingMemoryDbLogger.afterNodeLeft(JPAWorkingMemoryDbLogger.java:120)[jbpm-audit-6.2.0.Final.jar:6.2.0.Final] at org.drools.core.event.ProcessEventSupport.fireAfterNodeLeft(ProcessEventSupport.java:124)[drools-core-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:373)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:323)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:73)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:44)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:171)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final] ... 47 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.