You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2019/02/24 17:59:00 UTC

[jira] [Created] (CXF-7980) RestClientExtension leaks

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)