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 A2E0FDBDB for ; Mon, 1 Oct 2012 07:01:14 +0000 (UTC) Received: (qmail 8530 invoked by uid 500); 1 Oct 2012 07:01:14 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 8418 invoked by uid 500); 1 Oct 2012 07:01:09 -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 8376 invoked by uid 99); 1 Oct 2012 07:01:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2012 07:01:08 +0000 Date: Mon, 1 Oct 2012 18:01:08 +1100 (NCT) From: "Holger Sunke (JIRA)" To: issues@cxf.apache.org Message-ID: <227313951.147112.1349074868321.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (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 Holger Sunke created CXF-4529: --------------------------------- Summary: 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 Hello, seemes to me there is a memory leak with the CXFAuthenticator. There is a static reference to it in java.net.Authenticator.theAuthenticator . The 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. -- 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