3 Replies Latest reply on Jan 25, 2016 8:17 PM by Rajiv Dadhich

    jBPM 6.1.0 and spring local transaction issue

    rahul7163 Newbie

      Hi,

       

      I am new to jBPM 6.1.0 version. I'm using the jBPM 6.1.0 and Spring Local Transaction(JpaTransactionManager) using the PER PROCESS INSTANCE session strategy. It is throwing below exception at the time of starting the process. Singleton process strategy is working fine with Spring Local Transaction.

       

      java.lang.IllegalStateException: Unable to find transaction: Cannot create resource instance

          at org.drools.persistence.jta.JtaTransactionManager.findUserTransaction(JtaTransactionManager.java:139)

          at org.drools.persistence.jta.JtaTransactionManager.<init>(JtaTransactionManager.java:79)

          at org.jbpm.runtime.manager.impl.AbstractRuntimeManager.getTransactionManager(AbstractRuntimeManager.java:228)

          at org.jbpm.runtime.manager.impl.AbstractRuntimeManager.registerDisposeCallback(AbstractRuntimeManager.java:131)

          at org.jbpm.runtime.manager.impl.PerProcessInstanceRuntimeManager.getRuntimeEngine(PerProcessInstanceRuntimeManager.java:115)

       

      How we can solve this problem? Is there any solution for this problem?

       

      Thanks in advance!