Ivo Studensky created WFCORE-5131:
-------------------------------------
Summary: (7.3.z) The embedded host and server handlers hang on start
Key: WFCORE-5131
URL:
https://issues.redhat.com/browse/WFCORE-5131
Project: WildFly Core
Issue Type: Bug
Components: Embedded
Affects Versions: 12.0.0.Beta1
Reporter: Ivo Studensky
Assignee: Yeray Borges Santana
Fix For: 12.0.0.Beta2, 12.0.0.Final
Recently we changed the way the {{EmbedHostControllerHandler}} and {{EmbedServerHandler}}
wait for the embedded host/server until it starts.
We were using a pooling executing management operations to check the process state. We
needed a different solution to be able to check the process state when the embedded
host/server was launched with and empty configuration file.
In the new approach we exposed the process state to the client so it can be directly
pooling without requiring a management operation.
Currently the update of this internal field is racy, and a hang can occurs starting the
embedded.
We saw this bug in the CI test suite:
https://ci.wildfly.org/viewLog.html?buildId=197876&buildTypeId=WF_Mas...
--
This message was sent by Atlassian Jira
(v7.13.8#713008)