axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francisco Salvador (JIRA)" <>
Subject [jira] [Commented] (AXIS2-5673) AxisAdminServlet initialization causes a memory leak
Date Mon, 13 Oct 2014 08:41:33 GMT


Francisco Salvador commented on AXIS2-5673:

Since I do not have a deep understanding of the architecture nor the components I have just
patched the initialization.  Probably the ContextConfiguration should manage stopping the
ListenerManager before reassigning the reference but I would prefer some input here.

> AxisAdminServlet initialization causes a memory leak
> ----------------------------------------------------
>                 Key: AXIS2-5673
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: admin console
>    Affects Versions: 1.6.2
>            Reporter: Francisco Salvador
>            Priority: Minor
>         Attachments: AXIS2-5673.patch
> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message