AXIS21.7.3に関連してこのエラーが発生します。最新のJava8でTomcat8を実行しています。
Java.io.IOException: APR error: -730054
org.Apache.axis2.AxisFault: Java.io.IOException: APR error: -730054
at org.Apache.axis2.AxisFault.makeFault(AxisFault.Java:430)
at org.Apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.Java:78)
at org.Apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.Java:365)
at org.Apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.Java:244)
at org.Apache.axis2.engine.AxisEngine.sendFault(AxisEngine.Java:514)
at org.Apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.Java:450)
at org.Apache.axis2.transport.http.AxisServlet.processAxisFault(AxisServlet.Java:415)
at org.Apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.Java:205)
at javax.servlet.http.HttpServlet.service(HttpServlet.Java:648)
at javax.servlet.http.HttpServlet.service(HttpServlet.Java:729)
at org.Apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.Java:291)
at org.Apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.Java:206)
at org.Apache.Tomcat.websocket.server.WsFilter.doFilter(WsFilter.Java:52)
at org.Apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.Java:239)
at org.Apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.Java:206)
at ad.common.GZipServletFilter.doFilter(GZipServletFilter.Java:53)
at org.Apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.Java:239)
at org.Apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.Java:206)
at org.Apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.Java:212)
at org.Apache.catalina.core.StandardContextValve.invoke(StandardContextValve.Java:106)
at org.Apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.Java:502)
at org.Apache.catalina.core.StandardHostValve.invoke(StandardHostValve.Java:141)
at org.Apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.Java:79)
at org.Apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.Java:616)
at org.Apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.Java:88)
at org.Apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.Java:521)
at org.Apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.Java:1096)
at org.Apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.Java:674)
at org.Apache.Tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.Java:2500)
at org.Apache.Tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.Java:2489)
at Java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.Java:1142)
at Java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.Java:617)
at org.Apache.Tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.Java:61)
at Java.lang.Thread.run(Thread.Java:745)
Caused by: com.ctc.wstx.exc.WstxIOException: Java.io.IOException: APR error: -730054
at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.Java:261)
at org.Apache.axiom.util.stax.wrapper.XMLStreamWriterWrapper.flush(XMLStreamWriterWrapper.Java:50)
at org.Apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.Java:231)
at org.Apache.axiom.om.impl.MTOMXMLStreamWriter.close(MTOMXMLStreamWriter.Java:223)
at org.Apache.axiom.om.impl.common.AxiomContainerSupport.ajc$interMethod$org_Apache_axiom_om_impl_common_AxiomContainerSupport$org_Apache_axiom_om_impl_intf_AxiomContainer$serializeAndConsume(AxiomContainerSupport.aj:324)
at org.Apache.axiom.om.impl.llom.OMElementImpl.serializeAndConsume(OMElementImpl.Java:1)
at org.Apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.Java:74) ... 32 more
Caused by: org.Apache.catalina.connector.ClientAbortException: Java.io.IOException: APR error: -730054
at org.Apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.Java:353)
at org.Apache.catalina.connector.OutputBuffer.flush(OutputBuffer.Java:317)
at org.Apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.Java:110)
at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.Java:103)
at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.Java:225)
at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.Java:259) ... 38 more
Caused by: Java.io.IOException: APR error: -730054
at org.Apache.coyote.http11.InternalAprOutputBuffer.writeToSocket(InternalAprOutputBuffer.Java:291)
at org.Apache.coyote.http11.InternalAprOutputBuffer.writeToSocket(InternalAprOutputBuffer.Java:244)
at org.Apache.coyote.http11.InternalAprOutputBuffer.flushBuffer(InternalAprOutputBuffer.Java:213)
at org.Apache.coyote.http11.AbstractOutputBuffer.flush(AbstractOutputBuffer.Java:305)
at org.Apache.coyote.http11.AbstractHttp11Processor.action(AbstractHttp11Processor.Java:765)
at org.Apache.coyote.Response.action(Response.Java:177)
at org.Apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.Java:349) ... 43 more
エラーはランダムに表示され、コードに関連するスタックトレースはありません。私はAPRコードをグーグルで検索しましたが、それに応じてこのエラーを解釈する方法を理解できませんでした。常に-730054です。誰かがそれが何を意味するのかを明らかにすることができますか?
これは私が証明できない説得力のある説明です:
730054 = 720000(Tomcat APR_OS_START_SYSERR )+ 10054( [〜#〜] wsaeconnereset [〜#〜] )
つまり、接続がピアによってリセットされたため、クライアントは接続を切断し、サーバー側では何もしません。