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

[GSS]6.4.x SessionNotFoundException popup after completing task through business central

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 6.4.7
    • Business Central
    • None

      To reproduce the issue - used mortgage-demo from the jboss-brms-bpmsuite-6.4-quickstarts downloaded from Red Hat Customer Portal.

      Here are the steps:

      1. Follow the steps given in the README file in the jboss-brms-bpmsuite-6.4-quickstarts/jboss-bpmsuite-example folder to install application;
      2. Navigate to "MortgageApplication" project;
      3. For this MortgageApplication project click on "Open Project Editor" -> click on the "Project Settings" button on the right and select "Deployment Descriptor";
      4. Choose "PER_PROCESS_INSTANCE" runtime strategy and save the change;
      5. Deploy the kjar "com.redhat.bpms.examples:mortgage:1" in business central;
      6. Create a container "com.redhat.bpms.examples:mortgage:1" (Deploy -> Execution Servers -> Add Container and make sure that "PER_PROCESS_INSTANCE" runtime strategy is selected in the second step);
      7. Start newly created container;
      8. Create payload.json as:
      **********************************
      {"application":{"com.redhat.bpms.examples.mortgage.Application":{
      "applicant":

      { "income":100000, "name":"Joe Black", "ssn":333224449 }

      ,
      "property":

      { "price":500000, "address":"12301 Wilshire" }

      ,
      "downPayment":100000,
      "amortization":30
      }
      }
      }
      **********************************
      9. Execute the following command in order to start the process:

      **********************************
      curl -X POST -u 'bpmsAdmin:bpmsAdmin123!' -H 'Content-type: application/json' -d @payload.json 'http://localhost:8180/kie-server/services/rest/server/containers/com.redhat.bpms.examples:mortgage:1/processes/com.redhat.bpms.examples.mortgage.MortgageApplication/instances'
      **********************************
      10. Open the task "Appraisal" through business central
      11. Complete the task inserting value "500001" for "Appraisal Value"
      12. Process is properly finished but the pop up error: "Unexpected error occurred: org.kie.internal.runtime.manager.SessionNotFoundException:No session found for context xxx" is shown in the UI.

              xiabai@redhat.com Xiaofeng Bai
              rhn-support-bkramer1 Biljana Kramer
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: