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

Benoit Wiart commented on CXF-7232:
-----------------------------------

Stack trace of the blocked thread

State: WAITING on 
org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduit$AsyncWrappedOutputStream@7e21dc8f
Total blocked: 1  Total waited: 3

Stack trace: 
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:502)
org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduit$AsyncWrappedOutputStream.getHttpResponse(AsyncHTTPConduit.java:621)
org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduit$AsyncWrappedOutputStream.readHeaders(AsyncHTTPConduit.java:735)
org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduit$AsyncWrappedOutputStream.updateCookiesBeforeRetransmit(AsyncHTTPConduit.java:795)
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleRetransmits(HTTPConduit.java:1410)
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1546)
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1348)
org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduit$AsyncWrappedOutputStream.close(AsyncHTTPConduit.java:415)
org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:56)
org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:216)
org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
   - locked org.apache.cxf.phase.PhaseInterceptorChain@49f6a9c0
org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:416)
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:394)
org.apache.cxf.jaxws.JaxWsClientProxy.invokeAsync(JaxWsClientProxy.java:298)
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:137)

> Soap Async is incompatible with AutoRedirect=true
> -------------------------------------------------
>
>                 Key: CXF-7232
>                 URL: https://issues.apache.org/jira/browse/CXF-7232
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime, Transports
>    Affects Versions: 3.1.9
>         Environment: java 8
>            Reporter: Benoit Wiart
>
> When using AutoRedirect=true with cxf-rt-transports-http-hc the call is  
> correctly executed asynchronously through httpasyncclient BUT the original 
> thread blocks until the end of the asynchronous execution. 
> Switching AutoRedirect to false make the same call fully asynchronous.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to