0 Replies Latest reply on Apr 1, 2015 7:31 AM by Zahid Ahmed Prs

    JBPM 6.1.0 Final Runtime Manager not getting created. Giving JTA transaction exception

    Zahid Ahmed Prs Newbie

      Hi,

       

      I have created a spring mvc project for JBPM6.

      Problem

                Getting           No active JTA transaction on joinTransaction call

                I am creating RuntimeManager with environment referring to ReleaseId. The kJar properly gets downloaded but gives the below error.

       

          Design and Deploy Part

                I have created one BPMN2 workflow in Kie-Workbench 6.1.0 Final. I deployed the KJar to nexus repository. KJar also contains the attached kmodule.xml.

       

          Application-JBPM integration


      RuntimeEnvironmentBuilder builder = RuntimeEnvironmentBuilder.Factory.get()

      .newDefaultBuilder("com.emi","tools.itsr","1.0.2", "kbase", "ksessionbpmn")

      .entityManagerFactory(jbpmEMF);

       

       

      builder.userGroupCallback(new UserGroupCallBackImpl());

       

       

      runtimeMgr = RuntimeManagerFactory.Factory.get()

      .newSingletonRuntimeManager(builder.get(), "org.jbpm:Evaluation:1.0");

       

       

      runtimeEngine = runtimeMgr.getRuntimeEngine(null);

      ksessionBpm = runtimeEngine.getKieSession();

      bpmTaskService = runtimeEngine.getTaskService();

       

      But getting following exception on RuntimeManagerFactory.Factory.get().newSingletonRuntimeManager(builder.get(), "org.jbpm:Evaluation:1.0");


      Exception

      14:57:34,975 WARN  [org.hibernate.ejb.AbstractEntityManagerImpl] (http-/127.0.0.1:8080-1) HHH000326: Cannot join transaction: do not override hibernate.transaction.factory_class

      14:57:34,976 WARN  [org.drools.persistence.SingleSessionCommandService] (http-/127.0.0.1:8080-1) Could not commit session: javax.persistence.TransactionRequiredException: No active JTA transaction on joinTransaction call

        at org.hibernate.ejb.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:1233) [hibernate-entitymanager-4.2.0.Final-redhat-1.jar:4.2.0.Final-redhat-1]

        at org.hibernate.ejb.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:1183) [hibernate-entitymanager-4.2.0.Final-redhat-1.jar:4.2.0.Final-redhat-1]

        at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.doJoinTransaction(ExtendedEntityManagerCreator.java:350) [spring-orm-4.0.1.RELEASE.jar:4.0.1.RELEASE]

        at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:317) [spring-orm-4.0.1.RELEASE.jar:4.0.1.RELEASE]

        at com.sun.proxy.$Proxy90.joinTransaction(Unknown Source)

        at org.drools.persistence.jpa.JpaPersistenceContext.joinTransaction(JpaPersistenceContext.java:66) [drools-persistence-jpa-6.1.0.Final.jar:6.1.0.Final]

        at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:102) [drools-persistence-jpa-6.1.0.Final.jar:6.1.0.Final]

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_72]

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_72]

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_72]

        at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [rt.jar:1.7.0_72]

        at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommandService(KnowledgeStoreServiceImpl.java:150) [drools-persistence-jpa-6.1.0.Final.jar:6.1.0.Final]

        at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newKieSession(KnowledgeStoreServiceImpl.java:70) [drools-persistence-jpa-6.1.0.Final.jar:6.1.0.Final]

        at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newKieSession(KnowledgeStoreServiceImpl.java:39) [drools-persistence-jpa-6.1.0.Final.jar:6.1.0.Final]

        at org.kie.internal.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:121) [kie-internal-6.1.0.Final.jar:6.1.0.Final]

        at org.jbpm.runtime.manager.impl.factory.JPASessionFactory.newKieSession(JPASessionFactory.java:42) [jbpm-runtime-manager-6.1.0.Final.jar:6.1.0.Final]

        at org.jbpm.runtime.manager.impl.SingletonRuntimeManager.init(SingletonRuntimeManager.java:95) [jbpm-runtime-manager-6.1.0.Final.jar:6.1.0.Final]

        at org.jbpm.runtime.manager.impl.RuntimeManagerFactoryImpl.newSingletonRuntimeManager(RuntimeManagerFactoryImpl.java:71) [jbpm-runtime-manager-6.1.0.Final.jar:6.1.0.Final]

        at com.emirates.workflow.service.impl.ProcessServiceImpl.createRuntimeManager(ProcessServiceImpl.java:76) [classes:]

        at com.emirates.workflow.service.impl.ProcessServiceImpl.startProcess(ProcessServiceImpl.java:51) [classes:]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_72]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_72]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_72]

        at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_72]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-4.0.1.RELEASE.jar:4.0.1.RELEASE]

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) [spring-aop-4.0.1.RELEASE.jar:4.0.1.RELEASE]

        at com.sun.proxy.$Proxy76.startProcess(Unknown Source)

        at com.emirates.workflow.service.impl.WorkflowServiceImpl.startProcess(WorkflowServiceImpl.java:25) [classes:]

        at com.emirates.workflow.controller.JbpmController.fetchProcessTaskDetails(JbpmController.java:46) [classes:]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_72]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_72]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_72]

        at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_72]

        at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:214) [spring-web-4.0.1.RELEASE.jar:4.0.1.RELEASE]

        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) [spring-web-4.0.1.RELEASE.jar:4.0.1.RELEASE]

        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) [spring-webmvc-4.0.1.RELEASE.jar:4.0.1.RELEASE]

        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:749) [spring-webmvc-4.0.1.RELEASE.jar:4.0.1.RELEASE]

        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:690) [spring-webmvc-4.0.1.RELEASE.jar:4.0.1.RELEASE]

        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83) [spring-webmvc-4.0.1.RELEASE.jar:4.0.1.RELEASE]

        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945) [spring-webmvc-4.0.1.RELEASE.jar:4.0.1.RELEASE]

        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:876) [spring-webmvc-4.0.1.RELEASE.jar:4.0.1.RELEASE]

        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961) [spring-webmvc-4.0.1.RELEASE.jar:4.0.1.RELEASE]

        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:863) [spring-webmvc-4.0.1.RELEASE.jar:4.0.1.RELEASE]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]

        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837) [spring-webmvc-4.0.1.RELEASE.jar:4.0.1.RELEASE]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

        at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

        at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_72]

       

       

      14:57:35,033 ERROR [stderr] (http-/127.0.0.1:8080-1) java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException

       

       

      14:57:35,035 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommandService(KnowledgeStoreServiceImpl.java:164)

       

       

      14:57:35,035 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newKieSession(KnowledgeStoreServiceImpl.java:70)

       

       

      14:57:35,035 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newKieSession(KnowledgeStoreServiceImpl.java:39)

       

       

      14:57:35,035 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.kie.internal.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:121)

       

       

      14:57:35,036 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.jbpm.runtime.manager.impl.factory.JPASessionFactory.newKieSession(JPASessionFactory.java:42)

       

       

      14:57:35,036 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.jbpm.runtime.manager.impl.SingletonRuntimeManager.init(SingletonRuntimeManager.java:95)

       

       

      14:57:35,036 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.jbpm.runtime.manager.impl.RuntimeManagerFactoryImpl.newSingletonRuntimeManager(RuntimeManagerFactoryImpl.java:71)

       

       

      14:57:35,036 ERROR [stderr] (http-/127.0.0.1:8080-1) at com.emirates.workflow.service.impl.ProcessServiceImpl.createRuntimeManager(ProcessServiceImpl.java:76)

       

       

      14:57:35,037 ERROR [stderr] (http-/127.0.0.1:8080-1) at com.emirates.workflow.service.impl.ProcessServiceImpl.startProcess(ProcessServiceImpl.java:51)

       

       

      14:57:35,037 ERROR [stderr] (http-/127.0.0.1:8080-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       

       

      14:57:35,037 ERROR [stderr] (http-/127.0.0.1:8080-1) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

       

       

      14:57:35,038 ERROR [stderr] (http-/127.0.0.1:8080-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

       

       

      14:57:35,038 ERROR [stderr] (http-/127.0.0.1:8080-1) at java.lang.reflect.Method.invoke(Method.java:606)

       

       

      14:57:35,038 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)

       

       

      14:57:35,038 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)

       

       

      14:57:35,039 ERROR [stderr] (http-/127.0.0.1:8080-1) at com.sun.proxy.$Proxy76.startProcess(Unknown Source)

       

       

      14:57:35,039 ERROR [stderr] (http-/127.0.0.1:8080-1) at com.emirates.workflow.service.impl.WorkflowServiceImpl.startProcess(WorkflowServiceImpl.java:25)

       

       

      14:57:35,039 ERROR [stderr] (http-/127.0.0.1:8080-1) at com.emirates.workflow.controller.JbpmController.fetchProcessTaskDetails(JbpmController.java:46)

       

       

      14:57:35,039 ERROR [stderr] (http-/127.0.0.1:8080-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       

       

      14:57:35,039 ERROR [stderr] (http-/127.0.0.1:8080-1) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

       

       

      14:57:35,040 ERROR [stderr] (http-/127.0.0.1:8080-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

       

       

      14:57:35,040 ERROR [stderr] (http-/127.0.0.1:8080-1) at java.lang.reflect.Method.invoke(Method.java:606)

       

       

      14:57:35,040 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:214)

       

       

      14:57:35,040 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)

       

       

      14:57:35,041 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

       

       

      14:57:35,041 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:749)

       

       

      14:57:35,041 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:690)

       

       

      14:57:35,042 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83)

       

       

      14:57:35,042 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945)

       

       

      14:57:35,042 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:876)

       

       

      14:57:35,042 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)

       

       

      14:57:35,043 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:863)

       

       

      14:57:35,043 ERROR [stderr] (http-/127.0.0.1:8080-1) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)

       

       

      14:57:35,043 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)

       

       

      14:57:35,044 ERROR [stderr] (http-/127.0.0.1:8080-1) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

       

       

      14:57:35,044 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)

       

       

      14:57:35,044 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

       

       

      14:57:35,044 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

       

       

      14:57:35,044 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)

       

       

      14:57:35,045 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)

       

       

      14:57:35,045 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)

       

       

      14:57:35,045 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)

       

       

      14:57:35,045 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)

       

       

      14:57:35,046 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)

       

       

      14:57:35,046 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)

       

       

      14:57:35,046 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)

       

       

      14:57:35,046 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)

       

       

      14:57:35,047 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)

       

       

      14:57:35,047 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)

       

       

      14:57:35,047 ERROR [stderr] (http-/127.0.0.1:8080-1) at java.lang.Thread.run(Thread.java:745)

       

       

      14:57:35,048 ERROR [stderr] (http-/127.0.0.1:8080-1) Caused by: java.lang.reflect.InvocationTargetException

       

       

      14:57:35,048 ERROR [stderr] (http-/127.0.0.1:8080-1) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

       

       

      14:57:35,048 ERROR [stderr] (http-/127.0.0.1:8080-1) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

       

       

      14:57:35,048 ERROR [stderr] (http-/127.0.0.1:8080-1) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

       

       

      14:57:35,048 ERROR [stderr] (http-/127.0.0.1:8080-1) at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

       

       

      14:57:35,049 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommandService(KnowledgeStoreServiceImpl.java:150)

       

       

      14:57:35,049 ERROR [stderr] (http-/127.0.0.1:8080-1) ... 49 more

       

       

      14:57:35,049 ERROR [stderr] (http-/127.0.0.1:8080-1) Caused by: javax.persistence.TransactionRequiredException: No active JTA transaction on joinTransaction call

       

       

      14:57:35,049 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.hibernate.ejb.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:1233)

       

       

      14:57:35,050 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.hibernate.ejb.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:1183)

       

       

      14:57:35,050 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.doJoinTransaction(ExtendedEntityManagerCreator.java:350)

       

       

      14:57:35,053 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:317)

       

       

      14:57:35,053 ERROR [stderr] (http-/127.0.0.1:8080-1) at com.sun.proxy.$Proxy90.joinTransaction(Unknown Source)

       

       

      14:57:35,053 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.drools.persistence.jpa.JpaPersistenceContext.joinTransaction(JpaPersistenceContext.java:66)

       

       

      14:57:35,054 ERROR [stderr] (http-/127.0.0.1:8080-1) at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:102)

       

       

      14:57:35,054 ERROR [stderr] (http-/127.0.0.1:8080-1) ... 54 more