oacore的application log報broken pipe

來源:互聯網
上載者:User

標籤:java   http   com   os   html   cti   

後台oacore的application log常常報這樣的錯誤 14/06/26 09:28:34.917 html: Servlet error java.io.IOException: Broken pipe         at sun.nio.ch.FileDispatcher.write0(Native Method)         at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)        at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)        at sun.nio.ch.IOUtil.write(IOUtil.java:75)         at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)        at java.nio.channels.Channels.write(Channels.java:60)         at java.nio.channels.Channels.access$000(Channels.java:47)         at java.nio.channels.Channels$1.write(Channels.java:134)         at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)        at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)        at java.lang.Thread.run(Thread.java:619)
The errors are caused by writing to a connection when the other end has already closed it.Basically, this is caused by the peer unexpectedly ending the connection (for instance, by closing the browser during an HTTP connection).When user closes the client session, server cannot write any streams to that client and generates this error.If you click in a link and before the page is rendered you click in a second one. the first request is canceled and you will see a broken pipe at that time.
錯誤是由應用向用戶端發送資訊時,發現客戶已經關閉了這個串連。 基本上,這是由用戶端突然結束串連(例如,通過關閉瀏覽器的HTTP串連)。 當使用者關閉用戶端工作階段,伺服器不能寫任何資訊流,會產生此錯誤。 如果你開啟一個連結,在頁面被渲染之前,你點擊第二個。第一個請求突然被取消了,你會看到當時的這樣報錯。這是正常行為,不必驚慌。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.