Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 57D8B18246 for ; Sat, 4 Jul 2015 14:48:05 +0000 (UTC) Received: (qmail 77079 invoked by uid 500); 4 Jul 2015 14:48:05 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 76896 invoked by uid 500); 4 Jul 2015 14:48:05 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 76887 invoked by uid 99); 4 Jul 2015 14:48:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Jul 2015 14:48:04 +0000 Date: Sat, 4 Jul 2015 14:48:04 +0000 (UTC) From: "Andreas Veithen (JIRA)" To: java-dev@axis.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AXIS2-5673) AxisAdminServlet initialization causes a memory leak MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2-5673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Veithen updated AXIS2-5673: ----------------------------------- Fix Version/s: 1.6.4 > 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 > Fix For: 1.7.0, 1.6.4 > > 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 (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