Hi,

I don't think so - it should be wrapped in a synchronized map, I'll fix it
for CXF 3.2.7.

Colm.

On Wed, Oct 10, 2018 at 1:26 PM COURTAULT Francois <
francois.courta...@gemalto.com> wrote:

> Hello,
>
> We are using TomEE 7.0.5 or 7.1.0 which embeds cxf 3.1.15.
>
> During stress tests, we found several threads with this pattern:
>     java.lang.Thread.State: RUNNABLE
>         at java.util.WeakHashMap.put(WeakHashMap.java:453)
>         at java.util.Collections$SetFromMap.add(Collections.java:5461)
>         at
> org.apache.cxf.jaxrs.client.spec.ClientImpl$WebTargetImpl.initTargetClientIfNeeded(ClientImpl.java:358)
>
> This same issue has been found by others:
>
> http://www.adam-bien.com/roller/abien/entry/endless_loops_in_unsychronized_weakhashmap
>
> Do you know if a fix exists for that issue ?
>
> Best Regards.
> ________________________________
> This message and any attachments are intended solely for the addressees
> and may contain confidential information. Any unauthorized use or
> disclosure, either whole or partial, is prohibited.
> E-mails are susceptible to alteration. Our company shall not be liable for
> the message if altered, changed or falsified. If you are not the intended
> recipient of this message, please delete it and notify the sender.
> Although all reasonable efforts have been made to keep this transmission
> free from viruses, the sender will not be liable for damages caused by a
> transmitted virus.
>


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to