You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Alan.wang (Jira)" <ji...@apache.org> on 2022/07/04 02:37:00 UTC

[jira] [Commented] (CXF-8266) Exception Message received on a Client that has been closed or destroyed under high load

    [ https://issues.apache.org/jira/browse/CXF-8266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17561972#comment-17561972 ] 

Alan.wang commented on CXF-8266:
--------------------------------

Hi,I got the same issue for weeks,can u introduce me the detail for misused httpconduit over multi-threading. and how to fix it, I appreciate.

> Exception Message received on a Client that has been closed or destroyed under high load
> ----------------------------------------------------------------------------------------
>
>                 Key: CXF-8266
>                 URL: https://issues.apache.org/jira/browse/CXF-8266
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.3.2
>            Reporter: Florian Paetz
>            Priority: Major
>
> We are seeing the exception reported in CXF-7664 in our load-tests. We make calls synchronously,too. 
> We are using the IBM J9 JVM with Java 8. We made additional debug output, so we could see, that the failing instance was finalized in the finalizer-thread before we got the error.
>  
> Any help would be appreciated. We are trying to reproduce the problem in a standalone-test, but without success.
>  
> Caused by: java.lang.IllegalStateException: Message received on a Client that has been closed or destroyed.
>  at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:736) ~[cxf-core.jar:3.3.2]
>  at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1693) ~[cxf-rt-transports-http.jar:3.3.2]
>  at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1570) ~[cxf-rt-transports-http.jar:3.3.2]
>  at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1371) ~[cxf-rt-transports-http.jar:3.3.2]
>  at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) ~[cxf-core.jar:3.3.2]
>  at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:671) ~[cxf-rt-transports-http.jar:3.3.2]
>  at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:63) ~[cxf-core.jar:3.3.2]
>  at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) ~[cxf-core.jar:3.3.2]
>  at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:539) ~[cxf-core.jar:3.3.2]
>  at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:448) ~[cxf-core.jar:3.3.2]
>  at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:363) ~[cxf-core.jar:3.3.2]
>  at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:321) ~[cxf-core.jar:3.3.2]
>  at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) ~[cxf-rt-frontend-simple.jar:3.3.2]
>  at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:140) ~[cxf-rt-frontend-jaxws.jar:3.3.2]
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)