Process Instance Migration limitations in RHPAM 7

Solution Unverified - Updated -

Issue

  • Are there any limitations of Process Instance Migration?
  • I migrated a process instance while its async job was working on its long-running Command and the following Exception is logged after the job was finished:

    ... WARN  [org.jbpm.executor.impl.AbstractAvailableJobsExecutor] (Thread-5 (ActiveMQ-client-global-threads)) Error during command com.sample.AsyncCommand error message No session found for context 8: org.kie.internal.runtime.manager.SessionNotFoundException: No session found for context 8
        at org.jbpm.runtime.manager.impl.PerProcessInstanceRuntimeManager$PerProcessInstanceInitializer.initKieSession(PerProcessInstanceRuntimeManager.java:564)
        at org.jbpm.runtime.manager.impl.RuntimeEngineImpl.getKieSession(RuntimeEngineImpl.java:72)
        at org.jbpm.executor.impl.wih.AsyncWorkItemHandlerCmdCallback.onCommandDone(AsyncWorkItemHandlerCmdCallback.java:68)
        at org.jbpm.executor.impl.AbstractAvailableJobsExecutor.executeGivenJob(AbstractAvailableJobsExecutor.java:183)
        at org.jbpm.executor.impl.jms.JmsAvailableJobsExecutor.onMessage(JmsAvailableJobsExecutor.java:47)
        at org.kie.server.jms.executor.KieExecutorMDB.onMessage(KieExecutorMDB.java:86)
    

Environment

  • Red Hat Process Automation Manager (RHPAM)
    • 7.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In