cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Thein <steven.th...@oracle.com>
Subject Exception when sending large data in CXF 2.2.7....
Date Fri, 30 Apr 2010 01:52:13 GMT
Hi all,

                I am getting the following error when sending large data. What could have
caused the stream to closed? 

 

These are  interceptors in the PhaseInterceptorChain:

  setup [PolicyOutInterceptor]

  pre-logical [HolderOutInterceptor, SwAOutInterceptor, 

  WrapperClassOutInterceptor, SoapHeaderOutFilterInterceptor] 

  post-logical [SoapPreProtocolOutInterceptor]

  prepare-send [MessageSenderInterceptor]

  pre-stream [LoggingOutInterceptor, AttachmentOutInterceptor, StaxOutInterceptor] 

  pre-protocol [SAAJOutInterceptor]

  write [SoapOutInterceptor]

  marshal [WrappedOutInterceptor, BareOutInterceptor]

  post-marshal [SecurityOutboundIntercepter]

  write-ending [SoapOutEndingInterceptor]

  pre-stream-ending [StaxOutEndingInterceptor]

  prepare-send-ending [MessageSenderEndingInterceptor]

 

 

Caused by: javax.xml.bind.UnmarshalException

 - with linked exception:

[com.ctc.wstx.exc.WstxIOException: stream is closed]

    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:426)

    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:362)

    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:339)

    at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:755)

    at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:624)

    at org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:128)

    at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:106)

    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)

    at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:672)

    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2254)

    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2134)

    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1988)

    at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:47)

    at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:188)

    at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)

    at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:639)

    at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)

    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)

    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:484)

    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:310)

    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:262)

    at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)

    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)

    ... 15 more

Caused by: com.ctc.wstx.exc.WstxIOException: stream is closed

    at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:708)

    at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1086)

    at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:192)

    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:360)

    ... 36 more

Caused by: java.io.IOException: stream is closed

    at sun.net.www.http.ChunkedInputStream.ensureOpen(ChunkedInputStream.java:151)

    at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:646)

    at java.io.FilterInputStream.read(FilterInputStream.java:116)

    at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2504)

    at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2499)

    at com.ctc.wstx.io.UTF8Reader.loadMore(UTF8Reader.java:365)

    at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:110)

    at com.ctc.wstx.io.MergedReader.read(MergedReader.java:101)

    at com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:84)

    at com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:57)

    at com.ctc.wstx.sr.StreamScanner.loadMoreFromCurrent(StreamScanner.java:1046)

    at com.ctc.wstx.sr.StreamScanner.parseLocalName2(StreamScanner.java:1796)

    at com.ctc.wstx.sr.StreamScanner.parseLocalName(StreamScanner.java:1756)

    at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2914)

    at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2848)

    at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)

 

Steve

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message