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

Smart router remove container even if there are other server instances active

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None

      The fix doesn't work properly when one of Kie server is turned off. In such case there is deleted entry from containerInfo, causing any request to affected container to be returned with HTTP 404.

      Reproducer:
      Start Smart router
      Start EAP with Business central and Kie server
      Start second EAP with Kie server only (on different port)
      Both Kie servers should have same Kie server id (to belong to same server template) and connect to Business central
      Deploy Evaluation example to the server template (starting evaluation container on both Kie servers)
      Check that Smart router returns proper response - HTTP GET on http://localhost:9000/containers/evaluation/processes should return evaluation process
      Stop second EAP with Kie server.
      Check Smart router again (HTTP GET on http://localhost:9000/containers/evaluation/processes) - this time Smart router returns HTTP 404. Expected behaviour is that evaluation process is returned (as first Kie server is still running).

              elguardian@gmail.com Enrique González Martínez (Inactive)
              elguardian@gmail.com Enrique González Martínez (Inactive)
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: