<2013-02-19 06:01:43> <pool-3-thread-19> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:140)
<DEBUG> Disabled read interest while writing response SCEP@12ae832b{l(/61.4.77.126:31227)<->r(/192.151.154.130:80),d=true,open=true,ishut=false,oshut=true,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@7f2585a1,g=HttpGenerator{s=3,h=123,b=865,c=-1},p=HttpParser{s=0,l=27,c=36},r=2}
<2013-02-19 06:01:43> <pool-3-thread-19> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:624)
<DEBUG> EOF
org.eclipse.jetty.io.EofException
at org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:952)
at org.eclipse.jetty.http.HttpGenerator.complete(HttpGenerator.java:836)
at org.eclipse.jetty.server.AbstractHttpConnection.completeResponse(AbstractHttpConnection.java:603)
at org.eclipse.jetty.server.Response.complete(Response.java:1178)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:530)
at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:894)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:948)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:851)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.nio.channels.ClosedChannelException
at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:251)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:473)
at java.nio.channels.SocketChannel.write(SocketChannel.java:493)
at org.eclipse.jetty.io.nio.ChannelEndPoint.gatheringFlush(ChannelEndPoint.java:371)
at org.eclipse.jetty.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:330)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:316)
at org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:876)
... 14 more
什么原因啊?
------解决思路----------------------
看了一下定义
public class EofException
extends EOFException
A Jetty specialization of EOFException.
This is thrown by Jetty to distinguish between EOF received from the connection, vs and EOF thrown by some application talking to some other file/socket etc. The only difference in handling is that Jetty EOFs are logged less verbosely.
只能初步猜测 是不是要flush的buffer的结尾不符合jetty的要求呢(具体要求未知)?
------解决思路----------------------
是不是谷歌浏览器出现这问题,火狐浏览器没有?