axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francisco Salvador (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIS2-5673) AxisAdminServlet initialization causes a memory leak
Date Wed, 08 Oct 2014 15:18:33 GMT
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


Mime
View raw message