You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/01/18 15:20:39 UTC

[jira] [Issue Comment Edited] (CXF-4006) Possible classloader leak due to ThreadLocal

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

Sergey Beryozkin edited comment on CXF-4006 at 1/18/12 2:20 PM:
----------------------------------------------------------------

This has been fixed on the trunk and all the active branches. 
If you can get a chance to try it with the latest snapshot (2.5.x or 2.4.x, etc) then it would help, 
Trunk is building now at https://builds.apache.org/, I will schedule the 2.5.2-SNAPSHOT build next

Cheers, Sergey
                
      was (Author: sergey_beryozkin):
    This has been fixed on the trunk and all the active branches. 
If you can get a chance to try it with the latest snapshot (2.5.x or 2.4.x, etc) then it would help, 
2.5.2-SNAPSHOT is building now at https://builds.apache.org/, 

Cheers, Sergey
                  
> Possible classloader leak due to ThreadLocal
> --------------------------------------------
>
>                 Key: CXF-4006
>                 URL: https://issues.apache.org/jira/browse/CXF-4006
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.5.1
>         Environment: Glassfish
> OpenJDK Runtime Environment (IcedTea6 1.10.4) (fedora-61.1.10.4.fc16-x86_64)
>            Reporter: Art O Cathain
>
> org.apache.cxf.jaxrs.ext.MessageContextImpl is kept in a ThreadLocal for each HTTP request which means when a CXF-servlet-based webapp is undeployed, the webapp's classloader leaks. 
> (At least, I think that's what's going on, I'm not that expert at tracking down memory leaks. Perhaps I have misconfigured something?)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira