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 "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2014/10/12 05:40:33 UTC

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

    [ https://issues.apache.org/jira/browse/AXIS2-5673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14168504#comment-14168504 ] 

Deepal Jayasinghe commented on AXIS2-5673:
------------------------------------------

Since you already found where the issue is, can you send us a patch ?

Deepal

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org