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

Business Central doesn't update a ServerTemplate after restarting the kie-server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.7.0.GA
    • 7.5.0.GA, 7.6.0.GA
    • Kie-Server
    • None
    • Release Notes
    • CR1
    • Hide
      1. Start a BC and a Kie-Server on DEV mode
      2. Create a project (make sure it is a snapshot) and deploy -> it should work
      3. Remove the deployment
      4. Start the Kie-Server on PROD mode
      5. Try to deploy the project (make sure it is a snapshot) again -> BC tries to deploy it because the server template is still registered as dev mode.
      Show
      Start a BC and a Kie-Server on DEV mode Create a project (make sure it is a snapshot) and deploy -> it should work Remove the deployment Start the Kie-Server on PROD mode Try to deploy the project (make sure it is a snapshot) again -> BC tries to deploy it because the server template is still registered as dev mode.
    • 2020 Week 01-03 (from Dec 30)

      Looks like Business Central is not updating the state of a given server template when it is reconnected. For example:
      if you start a kie-server in dev-mode, BC registers its server template storing its state (including the mode). then if we stop the kie-server and restart it in prod-mode BC is not updating it's registry and so from BC perspective it is still running on dev mode and allows deploying snapshots on it (the deployment fails on kie-server side).

      It can be workarouned it by manually removing the server template from the execution servers screen before restarting the Kie-Server por changing the server name. But I guess that the expected behaviour would be that BC updates the state of the server template each time it connects.

            elguardian@gmail.com Enrique González Martínez (Inactive)
            rhn-support-alazarot Alessandro Lazarotti
            Karel Suta Karel Suta
            Karel Suta Karel Suta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: