Tomcat8运行一段时间后就报错

CapJes 发布于 2017/01/03 10:53
阅读 1K+
收藏 1
Tomcat log日志输出,提示信息:
03-Jan-2017 10:35:19.122 严重 [http-nio-8081-exec-8] 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:168)
at org.apache.coyote.http11.Http11OutputBuffer.doWrite(Http11OutputBuffer.java:217)
at org.apache.coyote.Response.doWrite(Response.java:517)
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:351)
at org.apache.catalina.connector.OutputBuffer.flushByteBuffer(OutputBuffer.java:808)
at org.apache.catalina.connector.OutputBuffer.realWriteChars(OutputBuffer.java:456)
at org.apache.catalina.connector.OutputBuffer.flushCharBuffer(OutputBuffer.java:813)
at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:245)
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)


03-Jan-2017 10:35:19.122 严重 [http-nio-8081-exec-8] 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)


03-Jan-2017 10:42:24.340 警告 [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
03-Jan-2017 10:42:24.372 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.8
03-Jan-2017 10:42:24.372 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Nov 3 2016 21:14:13 UTC
03-Jan-2017 10:42:24.372 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.8.0
03-Jan-2017 10:42:24.372 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows Server 2008 R2
03-Jan-2017 10:42:24.372 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            6.1
03-Jan-2017 10:42:24.372 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
03-Jan-2017 10:42:24.372 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             C:\Program Files\Java\jdk1.8.0_112\jre
03-Jan-2017 10:42:24.372 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_112-b15
03-Jan-2017 10:42:24.372 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
03-Jan-2017 10:42:24.372 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         E:\APP\tomcat-8.5.8-8081-web
03-Jan-2017 10:42:24.372 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         E:\APP\tomcat-8.5.8-8081-web
03-Jan-2017 10:42:24.372 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
03-Jan-2017 10:42:24.372 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
03-Jan-2017 10:42:24.372 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=E:\APP\tomcat-8.5.8-8081-web\conf\logging.properties
03-Jan-2017 10:42:24.387 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
03-Jan-2017 10:42:24.387 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=E:\APP\tomcat-8.5.8-8081-web
03-Jan-2017 10:42:24.387 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=E:\APP\tomcat-8.5.8-8081-web
03-Jan-2017 10:42:24.387 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=E:\APP\tomcat-8.5.8-8081-web\temp
03-Jan-2017 10:42:24.387 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.10 using APR version 1.5.2.
03-Jan-2017 10:42:24.387 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
03-Jan-2017 10:42:24.387 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
03-Jan-2017 10:42:25.043 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2j  26 Sep 2016)
03-Jan-2017 10:42:25.684 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8081"]
03-Jan-2017 10:42:25.965 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
03-Jan-2017 10:42:25.965 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8010"]
03-Jan-2017 10:42:25.965 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
03-Jan-2017 10:42:25.965 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 2951 ms
03-Jan-2017 10:42:26.028 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
03-Jan-2017 10:42:26.043 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.8
03-Jan-2017 10:42:36.122 信息 [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
03-Jan-2017 10:42:38.262 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory E:\APP\tomcat-8.5.8-8081-web\webapps\art-web
03-Jan-2017 10:42:42.637 信息 [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

加载中
0
赵传喜
赵传喜

你好,这个问题解决了吗

0
超超12137
超超12137

你好,我也遇到了,怎麽解決啊

返回顶部
顶部