You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2011/08/30 21:43:41 UTC

[jira] [Updated] (CXF-3758) when web container be redeployed WebServiceContextImpl's static atrribute ThreadLocal may not be release successfully.

     [ https://issues.apache.org/jira/browse/CXF-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp updated CXF-3758:
-----------------------------

    Fix Version/s: 2.3.7

> when web container be redeployed WebServiceContextImpl's static atrribute ThreadLocal<MessageContext> may not be release successfully.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3758
>                 URL: https://issues.apache.org/jira/browse/CXF-3758
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.4.2
>         Environment: tomcat
>            Reporter: qiu zhan bo
>            Assignee: Daniel Kulp
>              Labels: api-change
>             Fix For: 2.3.7, 2.4.3
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> when I redeploy cxf application in tomcat 7,I found some log indicate that  ThreadLocal<MessageContext> object may not be release successfully,When I implements GenericServlet's destroy method as follows:
> 	@Override
> 	public void destroy() {
> 		WebServiceContextImpl.clear();
> 	}
> this bug been fixed。
> there may be some other resources not be destroy as above。

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira