Romain Manni-Bucau created CXF-7980:
---------------------------------------

             Summary: RestClientExtension leaks
                 Key: CXF-7980
                 URL: https://issues.apache.org/jira/browse/CXF-7980
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
            Reporter: Romain Manni-Bucau


RestClientExtension uses static variables and never clear it off, moving to 
instance variable would be way saner and very worse case cleaning the variable 
sin BeforeShutdown event would be better.

If deployed in a container (like tomcat/lib folder) then it will be shared by 
apps so if app1 fails, app2 will fail whatever it does which is also another 
nasty side effect.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to