You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Francisco Salvador (JIRA)" <ji...@apache.org> on 2014/10/08 17:18:33 UTC

[jira] [Created] (AXIS2-5673) AxisAdminServlet initialization causes a memory leak

Francisco Salvador created AXIS2-5673:
-----------------------------------------

             Summary: AxisAdminServlet initialization causes a memory leak
                 Key: AXIS2-5673
                 URL: https://issues.apache.org/jira/browse/AXIS2-5673
             Project: Axis2
          Issue Type: Bug
          Components: admin console
    Affects Versions: 1.6.2
            Reporter: Francisco Salvador
            Priority: Minor


After initialization of the AxisServlet, the initialization of the AxisAdminServlet associates to the ConfigurationContext (Shared amongs AxisServlets) a new ListenerManager overriding the existing one. 
The Lister;anager.stop() method is never called on the old one so the system shutdown hook is never removed causing the object to be skipped form the garbage collection.
This causes a memory leak and the following OutOfMemoryError: PermGen after the axis2 application is reloaded several times. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org