2 Replies Latest reply on Aug 19, 2015 3:28 PM by Mallikarjuna P

    workiteminfo data got deleted while checkin but not moved to next state

    Mallikarjuna P Newbie

      Hi all, while checkin jbpm state in jbpm5 with drolls we are getting below error randomly and workiteminfo data got deleted but other tables not updated. seems to be transaction not completed properly.

      to continue the process i have done some workarounds by adding deleted worktiteminfo data and then reprocessd but still same issue coming. i am trying to solve this issue from last two weeks but no luck. any suggestions would be great help.

      here are error logs.

       

      2015-07-22 20:05:00,377 DEBUG [org.drools.persistence.jta.JtaTransactionManager] [WorkManager.DefaultWorkManager : 33] No JTA TransactionManager found at fallback JNDI location [java:comp/TransactionManager]

      1. javax.naming.NameNotFoundException: Name "comp/TransactionManager" not found in context "java:".

      at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1229)

      at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:1142)

      at com.ibm.ws.naming.urlbase.UrlContextImpl.lookupExt(UrlContextImpl.java:1436)

      at com.ibm.ws.naming.java.javaURLContextImpl.lookupExt(javaURLContextImpl.java:477)

      at com.ibm.ws.naming.java.javaURLContextRoot.lookupExt(javaURLContextRoot.java:485)

      at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:370)

      at org.apache.aries.jndi.DelegateContext.lookup(DelegateContext.java:161)

      at javax.naming.InitialContext.lookup(InitialContext.java:436)

      at org.drools.persistence.jta.JtaTransactionManager.findTransactionManager(JtaTransactionManager.java:102)

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

      at org.drools.persistence.SingleSessionCommandService.initTransactionManager(SingleSessionCommandService.java:289)

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

      at sun.reflect.GeneratedConstructorAccessor216.newInstance(Unknown Source)

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

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

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

      at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:67)

      at org.drools.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:122)

      at com.unisys.leida.framework.interfaceservice.jbpm5.common.JBPMHelper.getStatefulKnowledgeSession(JBPMHelper.java:174)

      at com.unisys.leida.framework.interfaceservice.jbpm5.service.impl.LeidaJBPMServiceImpl.checkin(LeidaJBPMServiceImpl.java:489)

      at com.unisys.leida.framework.adminservices.workflowservice.handler.impl.WorkflowHandlerJBPM5Direct.checkin(WorkflowHandlerJBPM5Direct.java:52)

      at com.unisys.leida.framework.adminservices.workflowservice.service.impl.WorkFlowServiceJavaBeanImpl.checkin(WorkFlowServiceJavaBeanImpl.java:85)

       

      thanks,

      Malli