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

"Process Not Found" when deploying more than one DeploymentUnit in BPM Suite 6.3

    XMLWordPrintable

Details

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

    • ER2
    • 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.

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              swiderski.maciej Maciej Swiderski (Inactive)
              rhn-support-ajuricic Amana Juricic
              Tibor Zimányi Tibor Zimányi
              Tibor Zimányi Tibor Zimányi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: