cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (Commented) (JIRA)" <>
Subject [jira] [Commented] (CXF-4006) Possible classloader leak due to ThreadLocal
Date Wed, 04 Jan 2012 15:43:39 GMT


Sergey Beryozkin commented on CXF-4006:

Hi, the thread local value is released by the runtime after the response has been handled,
so no leak will occur.
Do you have some information that shows there could be a leak ?
> Possible classloader leak due to ThreadLocal
> --------------------------------------------
>                 Key: CXF-4006
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.5.1
>         Environment: Glassfish
> OpenJDK Runtime Environment (IcedTea6 1.10.4) (fedora-
>            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:!default.jspa
For more information on JIRA, see:


View raw message