Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B30FDE6A for ; Thu, 11 Oct 2012 09:45:04 +0000 (UTC) Received: (qmail 31101 invoked by uid 500); 11 Oct 2012 09:45:03 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 31067 invoked by uid 500); 11 Oct 2012 09:45:03 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 31044 invoked by uid 99); 11 Oct 2012 09:45:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2012 09:45:03 +0000 Date: Thu, 11 Oct 2012 09:45:03 +0000 (UTC) From: "Freeman Fang (JIRA)" To: issues@cxf.apache.org Message-ID: <84972916.25450.1349948703129.JavaMail.jiratomcat@arcas> In-Reply-To: <227313951.147112.1349074868321.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (CXF-4529) PermGen Leak for CXFAuthenticator (WS Client Configuration) 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/CXF-4529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Freeman Fang resolved CXF-4529. ------------------------------- Resolution: Not A Problem > PermGen Leak for CXFAuthenticator (WS Client Configuration) > ----------------------------------------------------------- > > Key: CXF-4529 > URL: https://issues.apache.org/jira/browse/CXF-4529 > Project: CXF > Issue Type: Bug > Components: Configuration, JAX-WS Runtime > Affects Versions: 2.6.1 > Environment: Apache Tomcat 7, Windows 7 32bit > Reporter: Holger Sunke > Assignee: Freeman Fang > Labels: leak, permgen > > Hello, > seemes to me there is a memory leak with the CXFAuthenticator. There is a static reference to it in java.net.Authenticator.theAuthenticator . > This prevents the GC from collecting the WebappClassLoader on hot undeployment. > I helped myself by doing > java.net.Authenticator.setDefault(null); > on contextDestroy(). > Our web application uses CXF as a jasWS client configured with Spring 3.0.5. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira