You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Lekkie <le...@gmail.com> on 2015/03/10 12:22:48 UTC

Fault: XML_WRITE_EXC

I ocassionally get the error below on cxf. Any ideas as to why? Des it have
anything to do with request size? 

12:06:15,262 | WARN  | tp496033532-1285 | PhaseInterceptorChain            |
169 - org.apache.cxf.cxf-api - 2.6.0.fuse-71-047 | Interceptor for
{http://resources.consumer.rest.service.com/}RestRequestResource has thrown
exception, unwinding now
org.apache.cxf.interceptor.Fault: XML_WRITE_EXC
	at
org.apache.cxf.binding.xml.interceptor.XMLFaultOutInterceptor.handleMessage(XMLFaultOutInterceptor.java:87)[176:org.apache.cxf.cxf-rt-bindings-xml:2.6.0.fuse-71-047]
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)[169:org.apache.cxf.cxf-api:2.6.0.fuse-71-047]
	at
org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:114)[169:org.apache.cxf.cxf-api:2.6.0.fuse-71-047]
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:322)[169:org.apache.cxf.cxf-api:2.6.0.fuse-71-047]
	at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[169:org.apache.cxf.cxf-api:2.6.0.fuse-71-047]
	at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:348)[192:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.fuse-71-047]
	at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:312)[192:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.fuse-71-047]
	at
org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:72)[192:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.fuse-71-047]
	at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1040)[84:org.eclipse.jetty.server:7.6.7.v20120910]
	at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:976)[84:org.eclipse.jetty.server:7.6.7.v20120910]
	at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[84:org.eclipse.jetty.server:7.6.7.v20120910]
	at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)[84:org.eclipse.jetty.server:7.6.7.v20120910]
	at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[84:org.eclipse.jetty.server:7.6.7.v20120910]
	at
org.eclipse.jetty.server.Server.handle(Server.java:363)[84:org.eclipse.jetty.server:7.6.7.v20120910]
	at
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)[84:org.eclipse.jetty.server:7.6.7.v20120910]
	at
org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920)[84:org.eclipse.jetty.server:7.6.7.v20120910]
	at
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982)[84:org.eclipse.jetty.server:7.6.7.v20120910]
	at
org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)[79:org.eclipse.jetty.http:7.6.7.v20120910]
	at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[79:org.eclipse.jetty.http:7.6.7.v20120910]
	at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[84:org.eclipse.jetty.server:7.6.7.v20120910]
	at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627)[81:org.eclipse.jetty.io:7.6.7.v20120910]
	at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51)[81:org.eclipse.jetty.io:7.6.7.v20120910]
	at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[90:org.eclipse.jetty.util:7.6.7.v20120910]
	at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[90:org.eclipse.jetty.util:7.6.7.v20120910]
	at java.lang.Thread.run(Thread.java:745)[:1.7.0_67]
Caused by: com.ctc.wstx.exc.WstxIOException: null
	at
com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:261)[157:woodstox-core-asl:4.1.4]
	at
org.apache.cxf.binding.xml.interceptor.XMLFaultOutInterceptor.handleMessage(XMLFaultOutInterceptor.java:85)[176:org.apache.cxf.cxf-rt-bindings-xml:2.6.0.fuse-71-047]
	... 24 more
Caused by: org.eclipse.jetty.io.EofException
	at
org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:142)[84:org.eclipse.jetty.server:7.6.7.v20120910]
	at
org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:107)[84:org.eclipse.jetty.server:7.6.7.v20120910]
	at
org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:51)[169:org.apache.cxf.cxf-api:2.6.0.fuse-71-047]
	at
org.apache.cxf.io.CacheAndWriteOutputStream.write(CacheAndWriteOutputStream.java:71)[169:org.apache.cxf.cxf-api:2.6.0.fuse-71-047]
	at
org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:51)[169:org.apache.cxf.cxf-api:2.6.0.fuse-71-047]
	at
com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:100)[157:woodstox-core-asl:4.1.4]
	at
com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:225)[157:woodstox-core-asl:4.1.4]
	at
com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:259)[157:woodstox-core-asl:4.1.4]
	... 25 more

Regards



--
View this message in context: http://cxf.547215.n5.nabble.com/Fault-XML-WRITE-EXC-tp5754882.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Fault: XML_WRITE_EXC

Posted by Sergey Beryozkin <sb...@gmail.com>.
The only thing that rings a bell is

'org.eclipse.jetty.io.EofException'

As far as I recall it is caused by a client disconnecting...
Sergey
On 10/03/15 11:22, Lekkie wrote:
> I ocassionally get the error below on cxf. Any ideas as to why? Des it have
> anything to do with request size?
>
> 12:06:15,262 | WARN  | tp496033532-1285 | PhaseInterceptorChain            |
> 169 - org.apache.cxf.cxf-api - 2.6.0.fuse-71-047 | Interceptor for
> {http://resources.consumer.rest.service.com/}RestRequestResource has thrown
> exception, unwinding now
> org.apache.cxf.interceptor.Fault: XML_WRITE_EXC
> 	at
> org.apache.cxf.binding.xml.interceptor.XMLFaultOutInterceptor.handleMessage(XMLFaultOutInterceptor.java:87)[176:org.apache.cxf.cxf-rt-bindings-xml:2.6.0.fuse-71-047]
> 	at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)[169:org.apache.cxf.cxf-api:2.6.0.fuse-71-047]
> 	at
> org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:114)[169:org.apache.cxf.cxf-api:2.6.0.fuse-71-047]
> 	at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:322)[169:org.apache.cxf.cxf-api:2.6.0.fuse-71-047]
> 	at
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[169:org.apache.cxf.cxf-api:2.6.0.fuse-71-047]
> 	at
> org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:348)[192:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.fuse-71-047]
> 	at
> org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:312)[192:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.fuse-71-047]
> 	at
> org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:72)[192:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.fuse-71-047]
> 	at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1040)[84:org.eclipse.jetty.server:7.6.7.v20120910]
> 	at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:976)[84:org.eclipse.jetty.server:7.6.7.v20120910]
> 	at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[84:org.eclipse.jetty.server:7.6.7.v20120910]
> 	at
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)[84:org.eclipse.jetty.server:7.6.7.v20120910]
> 	at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[84:org.eclipse.jetty.server:7.6.7.v20120910]
> 	at
> org.eclipse.jetty.server.Server.handle(Server.java:363)[84:org.eclipse.jetty.server:7.6.7.v20120910]
> 	at
> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)[84:org.eclipse.jetty.server:7.6.7.v20120910]
> 	at
> org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920)[84:org.eclipse.jetty.server:7.6.7.v20120910]
> 	at
> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982)[84:org.eclipse.jetty.server:7.6.7.v20120910]
> 	at
> org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)[79:org.eclipse.jetty.http:7.6.7.v20120910]
> 	at
> org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[79:org.eclipse.jetty.http:7.6.7.v20120910]
> 	at
> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[84:org.eclipse.jetty.server:7.6.7.v20120910]
> 	at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627)[81:org.eclipse.jetty.io:7.6.7.v20120910]
> 	at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51)[81:org.eclipse.jetty.io:7.6.7.v20120910]
> 	at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[90:org.eclipse.jetty.util:7.6.7.v20120910]
> 	at
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[90:org.eclipse.jetty.util:7.6.7.v20120910]
> 	at java.lang.Thread.run(Thread.java:745)[:1.7.0_67]
> Caused by: com.ctc.wstx.exc.WstxIOException: null
> 	at
> com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:261)[157:woodstox-core-asl:4.1.4]
> 	at
> org.apache.cxf.binding.xml.interceptor.XMLFaultOutInterceptor.handleMessage(XMLFaultOutInterceptor.java:85)[176:org.apache.cxf.cxf-rt-bindings-xml:2.6.0.fuse-71-047]
> 	... 24 more
> Caused by: org.eclipse.jetty.io.EofException
> 	at
> org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:142)[84:org.eclipse.jetty.server:7.6.7.v20120910]
> 	at
> org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:107)[84:org.eclipse.jetty.server:7.6.7.v20120910]
> 	at
> org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:51)[169:org.apache.cxf.cxf-api:2.6.0.fuse-71-047]
> 	at
> org.apache.cxf.io.CacheAndWriteOutputStream.write(CacheAndWriteOutputStream.java:71)[169:org.apache.cxf.cxf-api:2.6.0.fuse-71-047]
> 	at
> org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:51)[169:org.apache.cxf.cxf-api:2.6.0.fuse-71-047]
> 	at
> com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:100)[157:woodstox-core-asl:4.1.4]
> 	at
> com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:225)[157:woodstox-core-asl:4.1.4]
> 	at
> com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:259)[157:woodstox-core-asl:4.1.4]
> 	... 25 more
>
> Regards
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Fault-XML-WRITE-EXC-tp5754882.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>


-- 
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com