I'm using jbpm 5.2 and drools repository 5.3.1 in my web app.
I've package crw and crw1 in drools repository
When i try to initiate one of the process in CRW , Getting the following number :
16:00:16,021 INFO [sds_logger] Exit [CHumanTaskHandler] CHumanTaskHandler.executeWorkItem method
16:00:16,027 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_2] TwoPhaseCoordinator.beforeCompletion - failed for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@6497189b Drive beforeCompletion participants.
javax.persistence.PersistenceException: java.lang.RuntimeException: java.lang.NoSuchMethodError: org.drools.marshalling.impl.ObjectMarshallingStrategyStore.getStrategyObject(Ljava/lang/Object;)Lorg/drools/marshalling/ObjectMarshallingStrategy;
at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:516)
at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:101)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:272)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:89)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:160)
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1433)
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:137)
at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:162)
at org.drools.persistence.jta.JtaTransactionManager.commit(JtaTransactionManager.java:179)
at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:348)
at org.drools.command.impl.CommandBasedStatefulKnowledgeSession$1.completeWorkItem(CommandBasedStatefulKnowledgeSession.java:150)
at com.emirates.sds.workflow.bpmn.handler.CustomWorkflowHumanTaskHandler$TaskCompletedHandler.handleCompletedTask(CustomWorkflowHumanTaskHandler.java:359)
at com.emirates.sds.workflow.bpmn.handler.CustomWorkflowHumanTaskHandler$TaskCompletedHandler$1.run(CustomWorkflowHumanTaskHandler.java:322)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodError: org.drools.marshalling.impl.ObjectMarshallingStrategyStore.getStrategyObject(Ljava/lang/Object;)Lorg/drools/marshalling/ObjectMarshallingStrategy;
at org.hibernate.ejb.event.BeanCallback.invoke(BeanCallback.java:31)
at org.hibernate.ejb.event.EntityCallbackHandler.callback(EntityCallbackHandler.java:81)
at org.hibernate.ejb.event.EntityCallbackHandler.preUpdate(EntityCallbackHandler.java:66)
at org.hibernate.ejb.event.EJB3FlushEntityEventListener.invokeInterceptor(EJB3FlushEntityEventListener.java:41)
at org.hibernate.event.def.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:330)
at org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:270)
at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:151)
at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:219)
at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:99)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:49)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1030)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:367)
at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:504)
... 14 more
Caused by: java.lang.NoSuchMethodError: org.drools.marshalling.impl.ObjectMarshallingStrategyStore.getStrategyObject(Ljava/lang/Object;)Lorg/drools/marshalling/ObjectMarshallingStrategy;
at org.jbpm.marshalling.impl.AbstractProcessInstanceMarshaller.writeProcessInstance(AbstractProcessInstanceMarshaller.java:161)
at org.jbpm.persistence.processinstance.ProcessInstanceInfo.update(ProcessInstanceInfo.java:195)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.hibernate.ejb.event.BeanCallback.invoke(BeanCallback.java:23)
... 26 more
16:00:16,030 WARN [JtaTransactionManager] Unable to commit transaction
javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Could not commit transaction.
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1445)
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:137)
at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:162)
at org.drools.persistence.jta.JtaTransactionManager.commit(JtaTransactionManager.java:179)
at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:348)
at org.drools.command.impl.CommandBasedStatefulKnowledgeSession$1.completeWorkItem(CommandBasedStatefulKnowledgeSession.java:150)
at com.emirates.sds.workflow.bpmn.handler.CustomWorkflowHumanTaskHandler$TaskCompletedHandler.handleCompletedTask(CustomWorkflowHumanTaskHandler.java:359)
at com.emirates.sds.workflow.bpmn.handler.CustomWorkflowHumanTaskHandler$TaskCompletedHandler$1.run(CustomWorkflowHumanTaskHandler.java:322)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.persistence.PersistenceException: java.lang.RuntimeException: java.lang.NoSuchMethodError: org.drools.marshalling.impl.ObjectMarshallingStrategyStore.getStrategyObject(Ljava/lang/Object;)Lorg/drools/marshalling/ObjectMarshallingStrategy;
at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:516)
at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:101)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:272)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:89)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:160)
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1433)
... 9 more
Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodError: org.drools.marshalling.impl.ObjectMarshallingStrategyStore.getStrategyObject(Ljava/lang/Object;)Lorg/drools/marshalling/ObjectMarshallingStrategy;
at org.hibernate.ejb.event.BeanCallback.invoke(BeanCallback.java:31)
at org.hibernate.ejb.event.EntityCallbackHandler.callback(EntityCallbackHandler.java:81)
at org.hibernate.ejb.event.EntityCallbackHandler.preUpdate(EntityCallbackHandler.java:66)
at org.hibernate.ejb.event.EJB3FlushEntityEventListener.invokeInterceptor(EJB3FlushEntityEventListener.java:41)
at org.hibernate.event.def.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:330)
at org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:270)
at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:151)
at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:219)
at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:99)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:49)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1030)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:367)
at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:504)
... 14 more
Caused by: java.lang.NoSuchMethodError: org.drools.marshalling.impl.ObjectMarshallingStrategyStore.getStrategyObject(Ljava/lang/Object;)Lorg/drools/marshalling/ObjectMarshallingStrategy;
at org.jbpm.marshalling.impl.AbstractProcessInstanceMarshaller.writeProcessInstance(AbstractProcessInstanceMarshaller.java:161)
at org.jbpm.persistence.processinstance.ProcessInstanceInfo.update(ProcessInstanceInfo.java:195)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.hibernate.ejb.event.BeanCallback.invoke(BeanCallback.java:23)
... 26 more
16:00:16,031 ERROR [SingleSessionCommandService] Could not commit session
java.lang.RuntimeException: Unable to commit transaction
at org.drools.persistence.jta.JtaTransactionManager.commit(JtaTransactionManager.java:182)
at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:348)
at org.drools.command.impl.CommandBasedStatefulKnowledgeSession$1.completeWorkItem(CommandBasedStatefulKnowledgeSession.java:150)
at com.emirates.sds.workflow.bpmn.handler.CustomWorkflowHumanTaskHandler$TaskCompletedHandler.handleCompletedTask(CustomWorkflowHumanTaskHandler.java:359)
at com.emirates.sds.workflow.bpmn.handler.CustomWorkflowHumanTaskHandler$TaskCompletedHandler$1.run(CustomWorkflowHumanTaskHandler.java:322)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Could not commit transaction.
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1445)
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:137)
at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:162)
at org.drools.persistence.jta.JtaTransactionManager.commit(JtaTransactionManager.java:179)
... 5 more
Caused by: javax.persistence.PersistenceException: java.lang.RuntimeException: java.lang.NoSuchMethodError: org.drools.marshalling.impl.ObjectMarshallingStrategyStore.getStrategyObject(Ljava/lang/Object;)Lorg/drools/marshalling/ObjectMarshallingStrategy;
at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:516)
at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:101)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:272)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:89)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:160)
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1433)
... 9 more
Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodError: org.drools.marshalling.impl.ObjectMarshallingStrategyStore.getStrategyObject(Ljava/lang/Object;)Lorg/drools/marshalling/ObjectMarshallingStrategy;
at org.hibernate.ejb.event.BeanCallback.invoke(BeanCallback.java:31)
at org.hibernate.ejb.event.EntityCallbackHandler.callback(EntityCallbackHandler.java:81)
at org.hibernate.ejb.event.EntityCallbackHandler.preUpdate(EntityCallbackHandler.java:66)
at org.hibernate.ejb.event.EJB3FlushEntityEventListener.invokeInterceptor(EJB3FlushEntityEventListener.java:41)
at org.hibernate.event.def.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:330)
at org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:270)
at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:151)
at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:219)
at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:99)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:49)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1030)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:367)
at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:504)
... 14 more
Caused by: java.lang.NoSuchMethodError: org.drools.marshalling.impl.ObjectMarshallingStrategyStore.getStrategyObject(Ljava/lang/Object;)Lorg/drools/marshalling/ObjectMarshallingStrategy;
at org.jbpm.marshalling.impl.AbstractProcessInstanceMarshaller.writeProcessInstance(AbstractProcessInstanceMarshaller.java:161)
at org.jbpm.persistence.processinstance.ProcessInstanceInfo.update(ProcessInstanceInfo.java:195)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.hibernate.ejb.event.BeanCallback.invoke(BeanCallback.java:23)
... 26 more
16:00:16,032 WARN [JtaTransactionManager] Unable to rollback transaction
java.lang.IllegalStateException: BaseTransaction.rollback - [com.arjuna.ats.internal.jta.transaction.arjunacore.notx] [com.arjuna.ats.internal.jta.transaction.arjunacore.notx] no transaction!
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.rollback(BaseTransaction.java:160)
at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.rollback(BaseTransactionManagerDelegate.java:114)
at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.rollback(ServerVMClientUserTransaction.java:170)
at org.drools.persistence.jta.JtaTransactionManager.rollback(JtaTransactionManager.java:191)
at org.drools.persistence.SingleSessionCommandService.rollbackTransaction(SingleSessionCommandService.java:369)
at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:353)
at org.drools.command.impl.CommandBasedStatefulKnowledgeSession$1.completeWorkItem(CommandBasedStatefulKnowledgeSession.java:150)
at com.emirates.sds.workflow.bpmn.handler.CustomWorkflowHumanTaskHandler$TaskCompletedHandler.handleCompletedTask(CustomWorkflowHumanTaskHandler.java:359)
at com.emirates.sds.workflow.bpmn.handler.CustomWorkflowHumanTaskHandler$TaskCompletedHandler$1.run(CustomWorkflowHumanTaskHandler.java:322)
at java.lang.Thread.run(Thread.java:662)
16:00:16,032 ERROR [SingleSessionCommandService] Could not rollback
java.lang.RuntimeException: Unable to rollback transaction
at org.drools.persistence.jta.JtaTransactionManager.rollback(JtaTransactionManager.java:197)
at org.drools.persistence.SingleSessionCommandService.rollbackTransaction(SingleSessionCommandService.java:369)
at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:353)
at org.drools.command.impl.CommandBasedStatefulKnowledgeSession$1.completeWorkItem(CommandBasedStatefulKnowledgeSession.java:150)
at com.emirates.sds.workflow.bpmn.handler.CustomWorkflowHumanTaskHandler$TaskCompletedHandler.handleCompletedTask(CustomWorkflowHumanTaskHandler.java:359)
at com.emirates.sds.workflow.bpmn.handler.CustomWorkflowHumanTaskHandler$TaskCompletedHandler$1.run(CustomWorkflowHumanTaskHandler.java:322)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.IllegalStateException: BaseTransaction.rollback - [com.arjuna.ats.internal.jta.transaction.arjunacore.notx] [com.arjuna.ats.internal.jta.transaction.arjunacore.notx] no transaction!
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.rollback(BaseTransaction.java:160)
at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.rollback(BaseTransactionManagerDelegate.java:114)
at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.rollback(ServerVMClientUserTransaction.java:170)
at org.drools.persistence.jta.JtaTransactionManager.rollback(JtaTransactionManager.java:191)
... 6 more
16:00:16,032 ERROR [STDERR] Exception in thread "Thread-24"
16:00:16,032 ERROR [STDERR] java.lang.RuntimeException: Could not commit session or rollback
16:00:16,032 ERROR [STDERR] at org.drools.persistence.SingleSessionCommandService.rollbackTransaction(SingleSessionCommandService.java:372)
16:00:16,032 ERROR [STDERR] at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:353)
16:00:16,032 ERROR [STDERR] at org.drools.command.impl.CommandBasedStatefulKnowledgeSession$1.completeWorkItem(CommandBasedStatefulKnowledgeSession.java:150)
16:00:16,033 ERROR [STDERR] at com.emirates.sds.workflow.bpmn.handler.CustomWorkflowHumanTaskHandler$TaskCompletedHandler.handleCompletedTask(CustomWorkflowHumanTaskHandler.java:359)
16:00:16,033 ERROR [STDERR] at com.emirates.sds.workflow.bpmn.handler.CustomWorkflowHumanTaskHandler$TaskCompletedHandler$1.run(CustomWorkflowHumanTaskHandler.java:322)
16:00:16,033 ERROR [STDERR] at java.lang.Thread.run(Thread.java:662)
16:00:16,033 ERROR [STDERR] Caused by: java.lang.RuntimeException: Unable to rollback transaction
16:00:16,033 ERROR [STDERR] at org.drools.persistence.jta.JtaTransactionManager.rollback(JtaTransactionManager.java:197)
16:00:16,033 ERROR [STDERR] at org.drools.persistence.SingleSessionCommandService.rollbackTransaction(SingleSessionCommandService.java:369)
16:00:16,033 ERROR [STDERR] ... 5 more
16:00:16,033 ERROR [STDERR] Caused by: java.lang.IllegalStateException: BaseTransaction.rollback - [com.arjuna.ats.internal.jta.transaction.arjunacore.notx] [com.arjuna.ats.internal.jta.transaction.arjunacore.notx] no transaction!
16:00:16,034 ERROR [STDERR] at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.rollback(BaseTransaction.java:160)
16:00:16,034 ERROR [STDERR] at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.rollback(BaseTransactionManagerDelegate.java:114)
16:00:16,034 ERROR [STDERR] at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.rollback(ServerVMClientUserTransaction.java:170)
16:00:16,034 ERROR [STDERR] at org.drools.persistence.jta.JtaTransactionManager.rollback(JtaTransactionManager.java:191)
16:00:16,034 ERROR [STDERR] ... 6 more
16:00:31,816 INFO [sds_logger] Entry [SessionInfoFilter] doFilter method
Please help me out on this.