Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-102837

Memory leak warning when shutting down 7.2 SP1 application server

    Details

      Description

      Steps to Reproduce:

      1. Startup SP1 bundle
      2. Shut down after its start-up

      Expected result:

      No memory leak warning error.

      Actual result:

      04-Oct-2019 23:06:08.944 WARNING [Thread-15] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Framework Event Dispatcher: Equinox Container: a981bef8-e53a-4fc7-80f5-ed3a18746d48] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
       java.lang.Object.wait(Native Method)
       java.lang.Object.wait(Object.java:502)
       org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
       org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
      04-Oct-2019 23:06:08.945 WARNING [Thread-15] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Refresh Thread: Equinox Container: a981bef8-e53a-4fc7-80f5-ed3a18746d48] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
       java.lang.Object.wait(Native Method)
       java.lang.Object.wait(Object.java:502)
       org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
       org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
      04-Oct-2019 23:06:08.946 WARNING [Thread-15] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Framework stop] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
       org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1590)
       org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:270)
       org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:192)
       org.eclipse.osgi.container.Module.doStop(Module.java:636)
       org.eclipse.osgi.container.Module.stop(Module.java:498)
       org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
       org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:210)
       java.lang.Thread.run(Thread.java:748)
      

      Reproducible on:
      Tomcat 9.0.17 + MySQL 5.7. liferay-dxp-7.2.10.1-sp1.

      Not Reproducible on:
      Tomcat 9.0.17 + MySQL 5.7. liferay-dxp-7.2.10-ga1.
      Tomcat 9.0.17 + MySQL 5.7. liferay-dxp-7.2.10-ga1 + FP2.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                victor.ware Victor Ware
                Reporter:
                victor.ware Victor Ware
                Participants of an Issue:
                Recent user:
                Victor Ware
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  14 weeks, 4 days ago

                  Packages

                  Version Package
                  7.2.X
                  Master