AnsweredAssumed Answered

Couldn't create SOAP message due to exception: XML reader error: com.ctc.wstx.exc.WstxIOException: null

Question asked by venkatakishorebabu.bellam on Mar 16, 2017

Hi One of Boomi Webservice Deployed to a 03 node production Molecule throwing 500 Response with Error.

 

On all 03 nodes we started seeing these errors at same time and few service requests throwing 500 Responses and is still continuing

 

<Date> <Time>EDT SEVERE  [com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit handle] Couldn't create SOAP message due to exception: XML reader error: com.ctc.wstx.exc.WstxIOException: null

com.sun.xml.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: XML reader error: com.ctc.wstx.exc.WstxIOException: null

        at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:292)

        at com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:276)

        at com.sun.xml.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:93)

        at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:456)

        at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)

        at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)

        at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:129)

        at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:160)

        at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:75)

        at com.boomi.connector.wss.soap.WSSoapServlet.doPost(WSSoapServlet.java:206)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)

        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)

        at com.boomi.connector.wss.security.apikey.ApiKeyFilter.doFilter(ApiKeyFilter.java:73)

        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)

        at com.boomi.connector.server.http.ThrottleFilter.doFilter(ThrottleFilter.java:54)

        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)

        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)

        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)

        at com.boomi.connector.server.http.LiveContextHandler.handle(LiveContextHandler.java:190)

        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

        at org.mortbay.jetty.Server.handle(Server.java:326)

        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)

        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)

        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:843)

        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)

        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)

        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)

        at com.boomi.connector.server.http.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:604)

Caused by: com.sun.xml.ws.streaming.XMLStreamReaderException: XML reader error: com.ctc.wstx.exc.WstxIOException: null

        at com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamReaderUtil.java:267)

        at com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:95)

        at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReaderUtil.java:110)

        at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStreamReaderUtil.java:100)

        at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:175)

        at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:303)

        at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:129)

        at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:287)

        ... 31 more

Caused by: com.ctc.wstx.exc.WstxIOException: null

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

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

        at com.sun.xml.ws.util.xml.XMLStreamReaderFilter.next(XMLStreamReaderFilter.java:92)

        at com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:89)

        ... 37 more

Caused by: org.mortbay.jetty.EofException

        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:319)

        at org.mortbay.jetty.HttpParser$Input.blockForContent(HttpParser.java:1176)

        at org.mortbay.jetty.HttpParser$Input.read(HttpParser.java:1122)

        at java.io.InputStream.read(InputStream.java:101)

        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.ReaderSource.readInto(ReaderSource.java:84)

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

        at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:992)

        at com.ctc.wstx.sr.BasicStreamReader.skipToken(BasicStreamReader.java:3395)

        at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:1988)

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

        ... 39 more

Caused by: java.io.IOException: Connection reset by peer

       at sun.nio.ch.FileDispatcherImpl.read0(Native Method)

        at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)

        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)

        at sun.nio.ch.IOUtil.read(IOUtil.java:197)

        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)

        at org.mortbay.io.nio.ChannelEndPoint.fill(ChannelEndPoint.java:132)

        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:290)

        ... 50 more

 

<Date> <Time> EDT SEVERE  [com.sun.xml.ws.transport.http.servlet.WSServletDelegate doGet] caught throwable

javax.xml.ws.WebServiceException: com.ctc.wstx.exc.WstxIOException: null

        at com.sun.xml.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:112)

        at com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:258)

        at com.sun.xml.ws.transport.http.HttpAdapter.encodePacket(HttpAdapter.java:338)

        at com.sun.xml.ws.transport.http.HttpAdapter.access$100(HttpAdapter.java:93)

        at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:480)

        at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)

        at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)

        at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:129)

        at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:160)

        at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:75)

        at com.boomi.connector.wss.soap.WSSoapServlet.doPost(WSSoapServlet.java:206)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)

        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)

        at com.boomi.connector.wss.security.apikey.ApiKeyFilter.doFilter(ApiKeyFilter.java:73)

        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)

        at com.boomi.connector.server.http.ThrottleFilter.doFilter(ThrottleFilter.java:54)

        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)

        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)

        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)

        at com.boomi.connector.server.http.LiveContextHandler.handle(LiveContextHandler.java:190)

        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

        at org.mortbay.jetty.Server.handle(Server.java:326)

        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)

        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)

        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:843)

        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)

        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)

        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)

        at com.boomi.connector.server.http.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:604)

Caused by: com.ctc.wstx.exc.WstxIOException: null

        at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:313)

        at com.sun.xml.ws.streaming.XMLStreamWriterUtil.getOutputStream(XMLStreamWriterUtil.java:97)

        at com.sun.xml.ws.message.jaxb.JAXBMessage.writePayloadTo(JAXBMessage.java:319)

        at com.sun.xml.ws.message.AbstractMessageImpl.writeTo(AbstractMessageImpl.java:142)

        at com.sun.xml.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:109)

        ... 32 more

Caused by: org.mortbay.jetty.EofException

        at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:791)

        at org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.java:569)

        at org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:1012)

        at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)

        at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:214)

        at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)

        ... 36 more

Caused by: java.io.IOException: Broken pipe

        at sun.nio.ch.FileDispatcherImpl.writev0(Native Method)

        at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51)

        at sun.nio.ch.IOUtil.write(IOUtil.java:148)

        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:504)

        at java.nio.channels.SocketChannel.write(SocketChannel.java:502)

        at org.mortbay.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:233)

        at org.mortbay.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:211)

        at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:714)

        ... 41 more

Outcomes