Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-4893

Expose the process state from the embed server and controller

    XMLWordPrintable

Details

    Description

      When we are starting the embedded managed server or host controller we are polling for the process state to verify when the server or host controller are ready for the caller.

      The polling is problematic to cover the case for an embedded managed host controller started with an empty host configuration file. The polling requires a host name to poll for its state and with an empty host configuration, we don't have such host to poll.

      This situation ends up returning to the client the model controller as soon as we have requested to start the managed host controller, that means the model controller can be used by a client even when the host controller process state is still starting, which is problematic. This is a rare case found in s390 machines.

      The embedded managed server / host has already a reference to the process state, the enhancement here is to expose its value so any client can check and poll based on the current value, instead of polling by executing a management operation.

      This enhancement should help Galleon to return to the caller a model controller client that is ready to use.

      Attachments

        Issue Links

          Activity

            People

              yborgess1@redhat.com Yeray Borges Santana
              yborgess1@redhat.com Yeray Borges Santana
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: