You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Ranjith Moola (JIRA)" <ji...@apache.org> on 2017/07/21 04:55:00 UTC

[jira] [Updated] (CXF-7452) Client is receiving the truncated response

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

Ranjith Moola updated CXF-7452:
-------------------------------
    Description: 
Client is receiving the truncated response. Client is getting java.io.EOFException while reading the truncated response. 

Service bean class is printing full response. But somehow client is not receiving full response. Instead client is receiving the truncated response. 

Added the jaxrs:outInterceptors with Phase.PREPARE_SEND and another OUT interceptor with Phase.PRE_STREAM
Both interceptor printed the truncated response in logs. Looks like before that Phase itself response is getting truncated. 

If we restart the application server then issue will go away. Same request will work after restart. 

Once server goes bad state then non of the requests will work till we restart the application server. 

Is there any issue in 2.7.7 cxf version? 

Please advice how to resolve this issue. 


  was:
Client is receiving the truncated response. Client is getting java.io.EOFException while reading the truncated response. 

Service bean class is printing full response. But somehow client is not receiving full response. Instead client is receiving the truncated response. 

Added the jaxrs:outInterceptors with Phase.PREPARE_SEND and another OUT interceptor with Phase.PRE_STREAM
Both interceptor printed the response and truncated response is printed in logs. Looks like before that Phase itself response is getting truncated. 

If we restart the application server then issue will go away. Same request will work after restart. 

Once server goes bad state then non of the requests will work till we restart the application server. 

Is there any issue in 2.7.7 cxf version? 

Please advice how to resolve this issue. 



> Client is receiving the truncated response
> ------------------------------------------
>
>                 Key: CXF-7452
>                 URL: https://issues.apache.org/jira/browse/CXF-7452
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.7.7
>            Reporter: Ranjith Moola
>
> Client is receiving the truncated response. Client is getting java.io.EOFException while reading the truncated response. 
> Service bean class is printing full response. But somehow client is not receiving full response. Instead client is receiving the truncated response. 
> Added the jaxrs:outInterceptors with Phase.PREPARE_SEND and another OUT interceptor with Phase.PRE_STREAM
> Both interceptor printed the truncated response in logs. Looks like before that Phase itself response is getting truncated. 
> If we restart the application server then issue will go away. Same request will work after restart. 
> Once server goes bad state then non of the requests will work till we restart the application server. 
> Is there any issue in 2.7.7 cxf version? 
> Please advice how to resolve this issue. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)