[jboss-jira] [JBoss JIRA] (WFCORE-4893) Expose the process state from the embed server and controller
Yeray Borges Santana (Jira)
issues at jboss.org
Thu Mar 26 18:12:49 EDT 2020
Yeray Borges Santana created WFCORE-4893:
--------------------------------------------
Summary: Expose the process state from the embed server and controller
Key: WFCORE-4893
URL: https://issues.redhat.com/browse/WFCORE-4893
Project: WildFly Core
Issue Type: Enhancement
Components: Embedded
Reporter: Yeray Borges Santana
Assignee: Yeray Borges Santana
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.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list