cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cyrille Le Clerc (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2622) ThreadLocal variables may not be cleared in case of exception
Date Sun, 17 Jan 2010 22:34:54 GMT
ThreadLocal variables may not be cleared in case of exception
-------------------------------------------------------------

                 Key: CXF-2622
                 URL: https://issues.apache.org/jira/browse/CXF-2622
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 2.2.5
            Reporter: Cyrille Le Clerc
            Assignee: Cyrille Le Clerc


@Context ThreadLocal variables ( UriInfo, Request, HttpHeaders and SecurityContext) are not
cleared on a RequestHandler or on the Resource Object if the JAXRSOutInterceptor.handleMessage()
is not called.

This occurs if :
* an Error is throwned during the invocation of the Resource Object
* a Throwable (Exception or Error) is throwned during the invocation of RequestHandler.handleRequest()
* an exception occurs invoking the various interceptors that are parts of the invocation chain
* the out interceptor chain is aborted before reaching the JAXRSOutInterceptor 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message