Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-20181

(7.3.z) WFCORE-4922 - The embedded host and server handlers hang on start

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.3.4.CR1, 7.3.4.GA
    • None
    • Embedded
    • None

      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_MasterWindowsJdk12

            istudens@redhat.com Ivo Studensky
            istudens@redhat.com Ivo Studensky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: