Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-981

Stopping embedded OpenDJ does not stop all owned threads

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.5.0-Xpress1, 2.4.6
    • Fix Version/s: Not applicable
    • Component/s: core server
    • Labels:
      None

      Description

      Bug reported on the OpenDJ mailing list:

      2013/6/8 Peter Varga <pvarga@opentext.com>

      Hi

      We are using OpenDJ embedded in servlet.
      We use org.opends.server.util.EmbeddedUtils.startServer() to start the server, and org.opends.server.util.EmbeddedUtils.stopServer() to stop it.

      After stopping it, the thread “Monitor Provider State Updater” is still running. Looking at the OpenDJ source code, it is evidently an OpenDJ thread – see MonitorProvider.java

      It looks like the MonitorProvider class should register itself as a ServerShutdownListener.
      Then in the implementation of processServerShutdown(), it should call SCHEDULER.shutdownNow().

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                matthew Matthew Swift
                Reporter:
                JnRouvignac Jean-Noël Rouvignac
                Dev Assignee:
                Matthew Swift
                QA Assignee:
                Christophe Sovant
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: