Uploaded image for project: 'WSS4J'
  1. WSS4J
  2. WSS-614

org.apache.ws.security.transform.STRTransformProvider leak

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.19, 2.0.10, 2.1.10
    • Fix Version/s: None
    • Component/s: WSS4J Core
    • Labels:
    • Environment:
      Java 1.8.0_131
      JBoss EAP 6.4.1

      Description

      A memory leak occur when undeploying a web application that uses WSS4J.

      The org.apache.ws.security.transform.STRTransformProvider is appended to java.security.Security at initialization in org.apache.ws.security.WSSConfig.init() but never removed.

      I've tested in wss4j-1.6.17 but I think it is the same in 1.6.19, 2.0.10 and 2.1.10.

      I've attached a screenshot of Eclipse MAT showing the leak.

        Attachments

        1. STRTransformProvider leak.jpg
          110 kB
          Leandro Quiroga

          Issue Links

            Activity

              People

              • Assignee:
                coheigea Colm O hEigeartaigh
                Reporter:
                leaqui Leandro Quiroga
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: