首页 新闻 会员 周边 捐助

jboss4.2 启动过几分钟后一直报错,导致系统无法使用

0
悬赏园豆:5 [待解决问题]

在jboss启动后,系统能够正常访问。但过几分钟后一直报如下错误信息,最后会导致系统无法访问使用。 请问如何解决排查此问题。谢谢!

报错信息如下:

2018-01-19 18:38:55,743 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[jsp]] Servlet.service() for servlet jsp threw exception java.net.SocketTimeoutException: Read timed out  at java.net.SocketInputStream.socketRead0(Native Method)  at java.net.SocketInputStream.read(SocketInputStream.java:129)  at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)  at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)  at java.io.BufferedInputStream.read(BufferedInputStream.java:317)  at sun.net.www.MeteredStream.read(MeteredStream.java:116)  at java.io.FilterInputStream.read(FilterInputStream.java:116)  at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2707)  at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)  at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)  at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)  at java.io.InputStreamReader.read(InputStreamReader.java:167)  at java.io.BufferedReader.fill(BufferedReader.java:136)  at java.io.BufferedReader.readLine(BufferedReader.java:299)  at java.io.BufferedReader.readLine(BufferedReader.java:362)  at org.apache.jsp.js.jstree.themes.apple._1_jsp._jspService(_1_jsp.java:77)  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:389)  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)  at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)  at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)  at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)  at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)  at java.lang.Thread.run(Thread.java:662) 2018-01-20 00:02:52,722 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[jsp]] Servlet.service() for servlet jsp threw exception java.net.SocketException: Connection reset  at java.net.SocketInputStream.read(SocketInputStream.java:168)  at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)  at java.io.BufferedInputStream.read(BufferedInputStream.java:317)  at sun.net.www.MeteredStream.read(MeteredStream.java:116)  at java.io.FilterInputStream.read(FilterInputStream.java:116)  at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2707)  at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)  at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)  at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)  at java.io.InputStreamReader.read(InputStreamReader.java:167)  at java.io.BufferedReader.fill(BufferedReader.java:136)  at java.io.BufferedReader.readLine(BufferedReader.java:299)  at java.io.BufferedReader.readLine(BufferedReader.java:362)  at org.apache.jsp.js.jstree.themes.apple._1_jsp._jspService(_1_jsp.java:77)  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:389)  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)  at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)  at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)  at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)  at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)  at java.lang.Thread.run(Thread.java:662)

lwr的主页 lwr | 初学一级 | 园豆:48
提问于:2018-01-20 12:49
< >
分享
所有回答(1)
0

是TCP连接被突然关闭了,建议tcp抓包分析一下

dudu | 园豆:29333 (高人七级) | 2018-01-20 14:26

关键抓不到,有什么好办法

支持(0) 反对(0) lwr | 园豆:48 (初学一级) | 2018-01-22 13:42
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册