1 2 Previous Next 19 Replies Latest reply on Oct 20, 2016 9:13 PM by Amos Feng

    Integrating Ironjacamar - Narayana with jbpm

    Karthick Karthick Newbie

      Hi,

       

      I want to use non-xa transactions in jbpm. To achieve that, i have integrated ironjacamar and narayana with jbpm. In iron jacamar, i used datasource with jdbc-local.rar

      I am able to get the Jbpm schemas generated successfully but when i tried to deploy the bpm application, i am getting the following exception.

       

      Caused by: java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)

        at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommandService(KnowledgeStoreServiceImpl.java:171)

        ... 60 more

      Caused by: java.lang.NullPointerException

        at org.drools.persistence.jta.JtaTransactionManager.getStatus(JtaTransactionManager.java:273)

        at org.drools.persistence.jpa.AbstractPersistenceContextManager.getApplicationScopedEntityManager(AbstractPersistenceContextManager.java:78)

        at org.drools.persistence.jpa.JpaPersistenceContextManager.getApplicationScopedPersistenceContext(JpaPersistenceContextManager.java:55)

        at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:101)

        ... 65 more

       

      Any help regarding this is very much appreciated.

      Thanks in advance.