Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-297

Handle exceptions during server stop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • None
    • None

    Description

      The server stop method is quite brittle. If any component throws an exception during shutdown, the exception is thrown and the method exits. Instead the stop method on the server should be able to handle such exceptions and continue shutting down all components and eventually stop the ExecutorServices. Failure to do so can lead to leaking threads.

      Attachments

        Activity

          People

            martyntaylor Martyn Taylor
            martyntaylor Martyn Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: