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

Embedded server leaks threads and thread locals during shutdown

    Details

    • Type: Bug
    • Status: Dev backlog
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.6.0
    • Fix Version/s: None
    • Component/s: core server
    • Labels:
    • Support Ticket IDs:

      Description

      If the server is used in a J2EE environment (e.g. OpenAM) then we need to be aware of leaking threads and thread locals, since these will prevent hot redeployment. In particular, all APIs which need to use additional threads should expose a means control the thread life-cycle, e.g. by using a ThreadFactory, Executor, etc.

      In the server there are a couple of potential leaks:

      • thread local org.opends.server.backends.jeb.ID2Entry.EntryCoder
      • Idle time limit thread
      • Monitor provider state updater

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                matthew Matthew Swift
                Reporter:
                matthew Matthew Swift
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: