Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-4153

[GSS](6.3.z) "Process Not Found" when deploying more than one DeploymentUnit in BPM Suite 6.3 using PER REQUEST strategy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.3.3
    • 6.3.0.GA
    • BRE
    • None
    • BPM Suite 6.3 libraries
      Runtime Strategy: PER REQUEST

    • CR1
    • Workaround Exists
    • Hide

      Use Per Process Instance.

      Show
      Use Per Process Instance.
    • Hide

      1) Download reproducer, it contains KJARs and the project to replicate the issue.

      2) Deploy the kjars to maven, e.g:

      mvn install:install-file -Dfile=sampleProject-1.0.jar -DgroupId=sampleOU -DartifactId=sampleProject -Dversion=1.0 -Dpackaging=jar
      mvn install:install-file -Dfile=sampleProject-1.1.jar -DgroupId=sampleOU -DartifactId=sampleProject -Dversion=1.1 -Dpackaging=jar

      3) Download my app and run the Showcase class which includes main method. Make sure it is pointing to right deployment unit files.

      Result: It will throw a "Process not found" when trying to retrieve the process definition from second deployment unit as the KieSession is the same for both.

      Show
      1) Download reproducer, it contains KJARs and the project to replicate the issue. 2) Deploy the kjars to maven, e.g: mvn install:install-file -Dfile=sampleProject-1.0.jar -DgroupId=sampleOU -DartifactId=sampleProject -Dversion=1.0 -Dpackaging=jar mvn install:install-file -Dfile=sampleProject-1.1.jar -DgroupId=sampleOU -DartifactId=sampleProject -Dversion=1.1 -Dpackaging=jar 3) Download my app and run the Showcase class which includes main method. Make sure it is pointing to right deployment unit files. Result: It will throw a "Process not found" when trying to retrieve the process definition from second deployment unit as the KieSession is the same for both.

      When more than one deployment unit is deployed, the processes definition in the second deployment is not found.

      The issue is that the same ksession is used when deploying and creating a RuntimeManager from different deployment units. The RuntimeManager is different though.

      It happens for Per Request strategy, but works well for Per Process Instance.

            swiderski.maciej Maciej Swiderski (Inactive)
            rhn-support-ajuricic Amana Juricic
            Martin Cimbalek Martin Cimbalek
            Martin Cimbalek Martin Cimbalek
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: