0 Replies Latest reply on Nov 6, 2013 5:38 AM by Shiju John

    Is it possible to start multiple process instances at the same time  ?

    Shiju John Newbie

      Is it possible to start multiple process instances at  the same time ?

      I am using 2 different knowledge seesions sessions but got  the execption while starting the 2nd instance. (JBPM5.4)

       

       

      ERROR [SingleSessionCommandService] Could not commit session

      java.lang.IllegalArgumentException: null source

      at java.util.EventObject.<init>(EventObject.java:38)

      at org.drools.event.ProcessEvent.<init>(ProcessEvent.java:32)

      at org.drools.event.ProcessStartedEventImpl.<init>(ProcessStartedEventImpl.java:28)

      at org.drools.event.ProcessEventSupport.fireBeforeProcessStarted(ProcessEventSupport.java:37)

      at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:169)

      at org.drools.common.AbstractWorkingMemory.startProcessInstance(AbstractWorkingMemory.java:1108)

      at org.drools.impl.StatefulKnowledgeSessionImpl.startProcessInstance(StatefulKnowledgeSessionImpl.java:330)

      at org.drools.command.runtime.process.StartProcessInstanceCommand.execute(StartProcessInstanceCommand.java:46)

      at org.drools.command.runtime.process.StartProcessInstanceCommand.execute(StartProcessInstanceCommand.java:25)

      at org.drools.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36)

      at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:373)

      at org.drools.command.impl.CommandBasedStatefulKnowledgeSession.startProcessInstance(CommandBasedStatefulKnowledgeSession.java:237)