COURTAULT Francois
2018-10-11 16:25:51 UTC
Hello,
Just to keep you informed.
During some performance/stress tests using TomEE 7.1.0 we have found an issue with REST client.
After re-analyzing thread dumps, 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)
Some people already have this kind of issue:
http://www.adam-bien.com/roller/abien/entry/endless_loops_in_unsychronized_weakhashmap
I got some feedback from cxf guys and it seems that they will fix it on 3.2.7 and 3.1.18 I guess.
I have created an issue in JIRA you can monitor: CXF-7869 Infinite loop in rest client<https://issues.apache.org/jira/projects/CXF/issues/CXF-7869>
Could you please include the cxf fix in future TomEE version please ?
BTW, I have another question: why TomEE embeds cxf 3.1.x instead of cxf 3.2.x ?
Could you please
________________________________
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.
Just to keep you informed.
During some performance/stress tests using TomEE 7.1.0 we have found an issue with REST client.
After re-analyzing thread dumps, 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)
Some people already have this kind of issue:
http://www.adam-bien.com/roller/abien/entry/endless_loops_in_unsychronized_weakhashmap
I got some feedback from cxf guys and it seems that they will fix it on 3.2.7 and 3.1.18 I guess.
I have created an issue in JIRA you can monitor: CXF-7869 Infinite loop in rest client<https://issues.apache.org/jira/projects/CXF/issues/CXF-7869>
Could you please include the cxf fix in future TomEE version please ?
BTW, I have another question: why TomEE embeds cxf 3.1.x instead of cxf 3.2.x ?
Could you please
________________________________
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.