Uploaded image for project: 'appNG'
  1. appNG
  2. APPNG-2130

Thread [Replication Thread] not stopped on application shutdown

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.17.0
    • Component/s: appng-core
    • Labels:
      None

      Description

      In some environments, Ehcache seems not to properly shutdown it's replication threads.

      WARNUNG: The web application [ROOT] appears to have started a thread named [Replication Thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
       java.lang.Thread.sleep(Native Method)
       net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator.replicationThreadMain(RMIAsynchronousCacheReplicator.java:117)
       net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator.access$000(RMIAsynchronousCacheReplicator.java:58)
       net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator$ReplicationThread.run(RMIAsynchronousCacheReplicator.java:389)

      Some experimenting has shown that it's sufficient to give those threads some time to detect their termination status.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mueller.matthias Matthias Müller
                Reporter:
                mueller.matthias Matthias Müller
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: