Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4529

PermGen Leak for CXFAuthenticator (WS Client Configuration)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.1
    • Fix Version/s: 2.7.1
    • Labels:
    • Environment:

      Apache Tomcat 7, Windows 7 32bit

    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              holger.sunke@bodo-peters.de Holger Sunke
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: