[
https://issues.apache.org/jira/browse/CXF-4006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188415#comment-13188415
]
Art O Cathain commented on CXF-4006:
------------------------------------
Yes, that is one of the cases for which we're using CXF (so we're using it as
both servlet and client).
> 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