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

Smart router is sending requested to stopped server in RHPAM 7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.64.0.Final
    • None
    • KieServer
    • None
    • False
    • False
    • NEW
    • NEW
    • Hide
      • Smart router configuration steps :

      ~~~~~

      1)  Started Smart Router using the command: java -jar rhpam-7.11.0-smart-router.jar

      2) Started business-central.war node (Node1) using the command: standalone.bat -c standalone-full-ha.xml

      3) Started both kie-server.war nodes (Node2 & Node3)

      4) Restart router with business-central location: java -Dorg.kie.server.router.host=127.0.0.1 -Dorg.kie.server.router.port=9000 -Dorg.kie.server.controller=http://localhost:8080/business-central/rest/controller -Dorg.kie.server.controller.user=aduser -Dorg.kie.server.controller.pwd=aduser@123 -Dorg.kie.server.router.config.watcher.enabled=true -jar rhpam-7.11.0-smart-router.jar

      5) Deployed project to both default-kieserver & KIE Server Router server configurations

      ~~~~~~

      • Stop one of the kie-server.
      • Use below REST API to send request :

      ~~~~~~~

      http://localhost:9000/queries/processes/instances

      ~~~~~~~

      • This API will send every alternate request to stopped kie-server.
      Show
      Smart router configuration steps : ~~~~~ 1)  Started Smart Router using the command: java -jar rhpam-7.11.0-smart-router.jar 2) Started business-central.war node (Node1) using the command: standalone.bat -c standalone-full-ha.xml 3) Started both kie-server.war nodes (Node2 & Node3) 4) Restart router with business-central location: java -Dorg.kie.server.router.host=127.0.0.1 -Dorg.kie.server.router.port=9000 -Dorg.kie.server.controller= http://localhost:8080/business-central/rest/controller -Dorg.kie.server.controller.user=aduser -Dorg.kie.server.controller.pwd=aduser@123 -Dorg.kie.server.router.config.watcher.enabled=true -jar rhpam-7.11.0-smart-router.jar 5) Deployed project to both default-kieserver & KIE Server Router server configurations ~~~~~~ Stop one of the kie-server. Use below REST API to send request : ~~~~~~~ http://localhost:9000/queries/processes/instances ~~~~~~~ This API will send every alternate request to stopped kie-server.

      • Smart router is sending request to stopped kie-server which resulting in alternate request are getting failed.

              rhn-support-egonzale Enrique Gonzalez Martinez (Inactive)
              rhn-support-egonzale Enrique Gonzalez Martinez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: