[
https://issues.apache.org/jira/browse/AXIS2-5673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Francisco Salvador updated AXIS2-5673:
--------------------------------------
Description:
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 Listermanager.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.
was:
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.
> 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 Listermanager.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: [email protected]
For additional commands, e-mail: [email protected]