ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WSS-614) org.apache.ws.security.transform.STRTransformProvider leak
Date Fri, 29 Sep 2017 18:32:00 GMT

    [ https://issues.apache.org/jira/browse/WSS-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16186204#comment-16186204
] 

ASF GitHub Bot commented on WSS-614:
------------------------------------

GitHub user leaqui opened a pull request:

    https://github.com/apache/wss4j/pull/8

    WSS-614 org.apache.ws.security.transform.STRTransformProvider leak

    I've created a new module that has a ServletContextListener,
    WssServletContextListener. This WssServletContextListener calls
    WSSConfig.cleanUp() method when contextDestroyed() is invoked.
    I´ve made it in a different module so it could be included in web
    applications.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/leaqui/wss4j trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/wss4j/pull/8.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #8
    
----
commit 5683be2df05fe64075d848fb416ea14dfa1c0a38
Author: leaqui <leaqui@gmail.com>
Date:   2017-09-29T18:28:15Z

    WSS-614 org.apache.ws.security.transform.STRTransformProvider leak
    
    I've created a new module that has a ServletContextListener,
    WssServletContextListener. This WssServletContextListener calls
    WSSConfig.cleanUp() method when contextDestroyed() is invoked.
    I´ve made it in a different module so it could be included in web
    applications.

----


> org.apache.ws.security.transform.STRTransformProvider leak
> ----------------------------------------------------------
>
>                 Key: WSS-614
>                 URL: https://issues.apache.org/jira/browse/WSS-614
>             Project: WSS4J
>          Issue Type: Bug
>          Components: WSS4J Core
>    Affects Versions: 1.6.19, 2.0.10, 2.1.10
>         Environment: Java 1.8.0_131
> JBoss EAP 6.4.1
>            Reporter: Leandro Quiroga
>            Assignee: Colm O hEigeartaigh
>              Labels: leak
>         Attachments: STRTransformProvider leak.jpg
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


Mime
View raw message