Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-8731

Default runtime strategy of "New Deployment Unit" wizard should respect kie-deployment-descriptor.xml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.30.0.Final
    • 7.18.0.Final
    • Console
    • NEW
    • NEW
    • Hide
      • Import example "Evaluation_Process" in business-central
      • Go to "Settings" -> "Deployments" -> "General Settings"
      • Change Runtime Strategy to "Per Process Instance"
      • Press "Build"
      • Go to "Execution Servers" -> "Add Deployment Unit"
      • Select the artifact (evaluation:evaluation:1.0.0-SNAPSHOT)
      • Press "Next" (Even if you press "Finish" without "Next", the result is the same)
      • You will see that Runtime Strategy is "Singleton"
      • Press "Finish"
      • Start the Deployment
      • Click the deployment link (e.g. http://localhost:8080/kie-server/services/rest/server/containers/evaluation:evaluation:1.0.0-SNAPSHOT)
      • You will see that Runtime Strategy is "Singleton"
                <config-items>
                    <itemName>RuntimeStrategy</itemName>
                    <itemValue>SINGLETON</itemValue>
                    <itemType>BPM</itemType>
                </config-items>
        
      Show
      Import example "Evaluation_Process" in business-central Go to "Settings" -> "Deployments" -> "General Settings" Change Runtime Strategy to "Per Process Instance" Press "Build" Go to "Execution Servers" -> "Add Deployment Unit" Select the artifact (evaluation:evaluation:1.0.0-SNAPSHOT) Press "Next" (Even if you press "Finish" without "Next", the result is the same) You will see that Runtime Strategy is "Singleton" Press "Finish" Start the Deployment Click the deployment link (e.g. http://localhost:8080/kie-server/services/rest/server/containers/evaluation:evaluation:1.0.0-SNAPSHOT ) You will see that Runtime Strategy is "Singleton" <config-items> <itemName> RuntimeStrategy </itemName> <itemValue> SINGLETON </itemValue> <itemType> BPM </itemType> </config-items>
    • 2019 Week 41-43 (from Okt 7), 2019 Week 44-46 (from Okt 28)

    Description

      Even if you configure "PER_PROCESS_INSTANCE" in kie-deployment-descriptor.xml, default runtime strategy (select-box value) of "New Deployment Unit" wizard in [Execution Servers] is "SINGLETON". So users may overwrite the value on deployment without notice.

      Note, if you directly press "Deploy" in Project perspective, it will respect the "PER_PROCESS_INSTANCE" in kie-deployment-descriptor.xml. This issue happens when you use "New Deployment Unit" wizard in [Execution Servers].

      Attachments

        Issue Links

          Activity

            People

              xiabai@redhat.com Xiaofeng Bai
              xiabai@redhat.com Xiaofeng Bai
              Jan Stastny Jan Stastny
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: