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

Details

    • Bug
    • Status: Verified (View Workflow)
    • Major
    • Resolution: Done
    • 7.11.1.GA
    • 7.12.1.GA
    • jBPM Core
    • None
    • 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)
    • ?

    Description

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

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: