Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-4035

Smart router is sending requested to stopped server in RHPAM 7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.12.1.GA
    • 7.11.1.GA
    • jBPM Core
    • None
    • False
    • False
    • CR1
    • ?
    • 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.
    • 2021 Week 49-51 (from Dec 6th), 2022 Week 02-04 (from Jan 10)

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

        1. Node1_Logs.log
          1.94 MB
          David Stephan
        2. Node2_Logs.log
          1.53 MB
          David Stephan
        3. Node3_Logs.log
          1.15 MB
          David Stephan
        4. RouterLogs
          32 kB
          David Stephan

              rhn-support-egonzale Enrique Gonzalez Martinez (Inactive)
              rhn-support-abchavan Abhijeet Chavan (Inactive)
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: