Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-20546

ListenerService closes port after unregistering listener

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 36.0.0.Final
    • None
    • None
    • None

      The service should make sure that the port is open and active only when all configs are set up. That means that, at stop, the first step should be stop listening before all other stop actions.

      Similarly, the reverse is true. When starting the service, the last step should be opening the port.

      Right now, when server is shutting down and starting, this creates a race condition where the service could not be entirely started when receiving requests for a short window of time.

              flaviarnn Flavia Rainone
              flaviarnn Flavia Rainone
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: