tomcat出错,系统能正常使用!

cavion 发布于 2016/06/21 13:06
阅读 950
收藏 0
java.io.IOException: Stream closed
at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:360)
at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:190)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.fill(BufferedReader.java:154)
at java.io.BufferedReader.read1(BufferedReader.java:205)
at java.io.BufferedReader.read(BufferedReader.java:279)
at java.io.Reader.read(Reader.java:140)
at org.loushang.next.web.utils.JsonUtils.read(Unknown Source)
at org.loushang.next.web.cmd.CommandServlet.executeQueryCommand(Unknown Source)
at org.loushang.next.web.cmd.CommandServlet.execute(Unknown Source)
at org.loushang.next.web.cmd.CommandServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
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 org.loushang.next.web.URLFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.loushang.bsp.security.author.intercept.web.FilterSecurityInterceptor.invoke(Unknown Source)
at org.loushang.bsp.security.author.intercept.web.FilterSecurityInterceptor.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.loushang.bsp.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(Unknown Source)
at org.loushang.bsp.security.context.HttpSessionContextIntegrationFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.loushang.next.web.CacheControl.doFilter(Unknown Source)
at cn.edu.ujn.common.login.CacheFilterControl.doFilter(CacheFilterControl.java:15)
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:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1085)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1556)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1513)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:745)

开始好好的,后来就莫名其妙的这样了,可能当时访问人数有所增加!频繁的出这个错误,但是系统能正常使用,但是这个错误太频繁了,肯定不正常,有知道的大神吗,给指导下,谢谢!

加载中
0
Steve
Steve
检查你的这个方法,读的时候有问题.
at org.loushang.next.web.utils.JsonUtils.read(Unknown Source)
at org.loushang.next.web.cmd.CommandServlet.executeQueryCommand(Unknown Source)
at org.loushang.next.web.cmd.CommandServlet.execute(Unknown Source)
at org.loushang.next.web.cmd.CommandServlet.service(Unknown Source)

cavion
cavion
这个是一个框架的,这个框架都用了好久了哦!
0
就是个精虫上脑的地方
就是个精虫上脑的地方
数据量大小呢 多半是超过一定的负荷量了
0
南湖船老大
南湖船老大
网络不稳定造成的
0
哇哈哈滴小朋友
哇哈哈滴小朋友

一般出现这个错误是你在打开某个功能,正在加载中的时候,突然把功能中断导致的。

多数为加载页面时,强行关闭页面导致。

该错误不会影响正常使用。

哇哈哈滴小朋友
哇哈哈滴小朋友
回复 @曹仁道 : 你都可以自己尝试一下啊,打卡任意一个页面,还在白的时候就关闭。看看是不是一定能出现这个错误。 你说过用户多,那很可能存在卡顿的情况,用户等不得了,然后就关掉的情况。所以出现的频率就搞咯。 建议你自己测试一下,是否就是该问题导致的报错。
cavion
cavion
那也不应该频繁的出现啊,还接连不断的出现
0
a
ayb0350

解决了吗?怎么解决的~~

返回顶部
顶部