You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (JIRA)" <ji...@apache.org> on 2019/03/13 22:32:00 UTC

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

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

Andriy Redko resolved CXF-7980.
-------------------------------
    Resolution: Fixed

> RestClientExtension leaks
> -------------------------
>
>                 Key: CXF-7980
>                 URL: https://issues.apache.org/jira/browse/CXF-7980
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.2.8, 3.3.1
>            Reporter: Romain Manni-Bucau
>            Priority: Major
>             Fix For: 3.2.9, 3.3.2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)