cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Holger Sunke (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-4529) PermGen Leak for CXFAuthenticator (WS Client Configuration)
Date Mon, 01 Oct 2012 07:01:08 GMT
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

Mime
View raw message