tomcat8.5报错

线上服务器经常报错!!  查看线程,堆都正常,但是tomcat却拒绝访问。

没请请求都报异常。

通过百度查到tomcat bug  https://bz.apache.org/bugzilla/show_bug.cgi?id=60372

版本8.5.8  

2017-07-06 跟新 两个月过去了,项目在没出问题----,确实是因为tomcat本身bug导致的。。

18-May-2017 14:32:27.799 SEVERE [http-nio-88-exec-45] org.apache.coyote.http11.Http11Processor.service Error processing request
 java.nio.BufferOverflowException
        at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:189)
        at org.apache.coyote.http11.Http11OutputBuffer.write(Http11OutputBuffer.java:454)
        at org.apache.coyote.http11.Http11OutputBuffer.write(Http11OutputBuffer.java:439)
        at org.apache.coyote.http11.Http11OutputBuffer.sendHeader(Http11OutputBuffer.java:399)
        at org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1277)
        at org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:263)
        at org.apache.coyote.Response.action(Response.java:170)
        at org.apache.coyote.Response.sendHeaders(Response.java:352)
        at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:303)
        at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:263)
        at org.apache.catalina.connector.Response.finishResponse(Response.java:484)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:379)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:789)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        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)

18-May-2017 14:32:27.799 SEVERE [http-nio-88-exec-45] org.apache.coyote.http11.Http11Processor.endRequest Error finishing response
 java.nio.BufferOverflowException
        at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:189)
        at org.apache.coyote.http11.Http11OutputBuffer.write(Http11OutputBuffer.java:454)
        at org.apache.coyote.http11.Http11OutputBuffer.write(Http11OutputBuffer.java:439)
        at org.apache.coyote.http11.Http11OutputBuffer.sendHeader(Http11OutputBuffer.java:399)
        at org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1277)
        at org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:263)
        at org.apache.coyote.http11.Http11Processor.endRequest(Http11Processor.java:1457)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:823)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:789)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        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)

18-May-2017 14:32:27.937 SEVERE [http-nio-88-exec-43] org.apache.coyote.http11.Http11Processor.service Error processing request
 java.nio.BufferOverflowException
        at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:189)
        at org.apache.coyote.http11.Http11OutputBuffer.write(Http11OutputBuffer.java:454)
        at org.apache.coyote.http11.Http11OutputBuffer.write(Http11OutputBuffer.java:439)
        at org.apache.coyote.http11.Http11OutputBuffer.sendHeader(Http11OutputBuffer.java:399)
        at org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1277)
        at org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:263)
        at org.apache.coyote.Response.action(Response.java:170)
        at org.apache.coyote.Response.sendHeaders(Response.java:352)
        at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:303)
        at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:263)
        at org.apache.catalina.connector.Response.finishResponse(Response.java:484)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:379)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:789)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        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)

18-May-2017 14:32:27.937 SEVERE [http-nio-88-exec-43] org.apache.coyote.http11.Http11Processor.endRequest Error finishing response
 java.nio.BufferOverflowException
        at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:189)
        at org.apache.coyote.http11.Http11OutputBuffer.write(Http11OutputBuffer.java:454)
        at org.apache.coyote.http11.Http11OutputBuffer.write(Http11OutputBuffer.java:439)
        at org.apache.coyote.http11.Http11OutputBuffer.sendHeader(Http11OutputBuffer.java:399)
        at org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1277)
        at org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:263)
        at org.apache.coyote.http11.Http11Processor.endRequest(Http11Processor.java:1457)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:823)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:789)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        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)

18-May-2017 14:32:28.078 SEVERE [http-nio-88-exec-28] org.apache.coyote.http11.Http11Processor.service Error processing request
 java.nio.BufferOverflowException
        at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:189)
        at org.apache.coyote.http11.Http11OutputBuffer.write(Http11OutputBuffer.java:454)
        at org.apache.coyote.http11.Http11OutputBuffer.write(Http11OutputBuffer.java:439)
        at org.apache.coyote.http11.Http11OutputBuffer.sendHeader(Http11OutputBuffer.java:399)
        at org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1277)
        at org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:263)
        at org.apache.coyote.Response.action(Response.java:170)
        at org.apache.coyote.Response.sendHeaders(Response.java:352)
        at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:303)
        at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:263)
        at org.apache.catalina.connector.Response.finishResponse(Response.java:484)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:379)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:789)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        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)

posted @ 2017-05-18 15:17  天空_Good  阅读(3038)  评论(5编辑  收藏  举报