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

antoine charles updated CXF-7662:
---------------------------------
    Description: 
We have a web portal calling regularly a service using cxf.

Its production environment.

Its has been working a for a while... And suddendly we had the stack trace 
bellow and also in PJ..

Please can you help us to understand what happened , why and how to fix it

2018-02-27 15:31:11,891 plpriws303-Site Centralisé Divulgation 
AMF-ad9ac493-2751-451e-a8eb-dd4531c71096-POST [normal:view:RESSRC] WARN 
[org.apache.cxf.phase.PhaseInterceptorChain] Interceptor for

{[http://desjardins.com/divulgations/schemas/v1]}

DesjServiceDivulgation#

{[http://desjardins.com/ServiceReglementaire.ServiceDivulgationAMF/schemas/v1]}

deposerDocument has thrown exception, unwinding now: 
org.apache.cxf.binding.soap.SoapFault: Problem writing SAAJ model to stream: 
Error writing request body to server
 at 
org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor$SAAJOutEndingInterceptor.handleMessage(SAAJOutInterceptor.java:221)
 at 
org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor$SAAJOutEndingInterceptor.handleMessage(SAAJOutInterceptor.java:172)
 at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
 at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530)
 at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)

 

.................

 Caused by: com.ctc.wstx.exc.WstxIOException: Error writing request body to 
server
  at com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:462)
  at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:676)
  at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:652)
  at 
org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor$SAAJOutEndingInterceptor.handleMessage(SAAJOutInterceptor.java:212)
  ... 196 more
 Caused by: java.io.IOException: Error writing request body to server
  at 
sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError(HttpURLConnection.java:3253)
  at 
sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write(HttpURLConnection.java:3236)
  at 
org.apache.cxf.io.CacheAndWriteOutputStream.write(CacheAndWriteOutputStream.java:71)
  at 
org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:51)
  at 
org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
  at com.ctc.wstx.io.UTF8Writer.write(UTF8Writer.java:143)
  at com.ctc.wstx.sw.BufferingXmlWriter.writeRaw(BufferingXmlWriter.java:269)
  at 
com.ctc.wstx.sw.BufferingXmlWriter.writeCharacters(BufferingXmlWriter.java:568)
  at com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:460)
  ... 199 more

 

 

 

  was:
We have a web portal calling regularly a service using cxf.

Its production environment.

Its has been working a for a while... And suddendly we had the stack trace 
bellow..

Please can you help us to understand what happened , why and how to fix it

2018-02-27 15:31:11,891 plpriws303-Site Centralisé Divulgation 
AMF-ad9ac493-2751-451e-a8eb-dd4531c71096-POST [normal:view:RESSRC] WARN 
[org.apache.cxf.phase.PhaseInterceptorChain] Interceptor for 
{[http://desjardins.com/divulgations/schemas/v1]}DesjServiceDivulgation#{[http://desjardins.com/ServiceReglementaire.ServiceDivulgationAMF/schemas/v1]}deposerDocument
 has thrown exception, unwinding now: org.apache.cxf.binding.soap.SoapFault: 
Problem writing SAAJ model to stream: Error writing request body to server
 at 
org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor$SAAJOutEndingInterceptor.handleMessage(SAAJOutInterceptor.java:221)
 at 
org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor$SAAJOutEndingInterceptor.handleMessage(SAAJOutInterceptor.java:172)
 at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
 at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530)
 at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)

 

.................

 Caused by: com.ctc.wstx.exc.WstxIOException: Error writing request body to 
server
 at com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:462)
 at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:676)
 at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:652)
 at 
org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor$SAAJOutEndingInterceptor.handleMessage(SAAJOutInterceptor.java:212)
 ... 196 more
Caused by: java.io.IOException: Error writing request body to server
 at 
sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError(HttpURLConnection.java:3253)
 at 
sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write(HttpURLConnection.java:3236)
 at 
org.apache.cxf.io.CacheAndWriteOutputStream.write(CacheAndWriteOutputStream.java:71)
 at 
org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:51)
 at 
org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
 at com.ctc.wstx.io.UTF8Writer.write(UTF8Writer.java:143)
 at com.ctc.wstx.sw.BufferingXmlWriter.writeRaw(BufferingXmlWriter.java:269)
 at 
com.ctc.wstx.sw.BufferingXmlWriter.writeCharacters(BufferingXmlWriter.java:568)
 at com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:460)
 ... 199 more

 

 

 


> Problem writing SAAJ model to stream: Error writing request body to server
> --------------------------------------------------------------------------
>
>                 Key: CXF-7662
>                 URL: https://issues.apache.org/jira/browse/CXF-7662
>             Project: CXF
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.7.5
>            Reporter: antoine charles
>            Priority: Major
>         Attachments: stack.txt
>
>
> We have a web portal calling regularly a service using cxf.
> Its production environment.
> Its has been working a for a while... And suddendly we had the stack trace 
> bellow and also in PJ..
> Please can you help us to understand what happened , why and how to fix it
> 2018-02-27 15:31:11,891 plpriws303-Site Centralisé Divulgation 
> AMF-ad9ac493-2751-451e-a8eb-dd4531c71096-POST [normal:view:RESSRC] WARN 
> [org.apache.cxf.phase.PhaseInterceptorChain] Interceptor for
> {[http://desjardins.com/divulgations/schemas/v1]}
> DesjServiceDivulgation#
> {[http://desjardins.com/ServiceReglementaire.ServiceDivulgationAMF/schemas/v1]}
> deposerDocument has thrown exception, unwinding now: 
> org.apache.cxf.binding.soap.SoapFault: Problem writing SAAJ model to stream: 
> Error writing request body to server
>  at 
> org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor$SAAJOutEndingInterceptor.handleMessage(SAAJOutInterceptor.java:221)
>  at 
> org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor$SAAJOutEndingInterceptor.handleMessage(SAAJOutInterceptor.java:172)
>  at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
>  at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530)
>  at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
>  
> .................
>  Caused by: com.ctc.wstx.exc.WstxIOException: Error writing request body to 
> server
>   at 
> com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:462)
>   at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:676)
>   at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:652)
>   at 
> org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor$SAAJOutEndingInterceptor.handleMessage(SAAJOutInterceptor.java:212)
>   ... 196 more
>  Caused by: java.io.IOException: Error writing request body to server
>   at 
> sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError(HttpURLConnection.java:3253)
>   at 
> sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write(HttpURLConnection.java:3236)
>   at 
> org.apache.cxf.io.CacheAndWriteOutputStream.write(CacheAndWriteOutputStream.java:71)
>   at 
> org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:51)
>   at 
> org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
>   at com.ctc.wstx.io.UTF8Writer.write(UTF8Writer.java:143)
>   at com.ctc.wstx.sw.BufferingXmlWriter.writeRaw(BufferingXmlWriter.java:269)
>   at 
> com.ctc.wstx.sw.BufferingXmlWriter.writeCharacters(BufferingXmlWriter.java:568)
>   at 
> com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:460)
>   ... 199 more
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to