首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

关于tomcat日志文件报的错~解决办法

2012-02-24 
关于tomcat日志文件报的错~?2007-02-2715:01:12StandardContext[/manager]HTMLManager:init:Globalresourc

关于tomcat日志文件报的错~?
2007-02-27   15:01:12   StandardContext[/manager]HTMLManager:   init:   Global   resources   are   available
2007-02-27   15:01:12   StandardContext[/manager]HTMLManager:   list:   Listing   contexts   for   virtual   host   'localhost '
2007-02-27   15:06:14   StandardContext[/manager]HTMLManager:   list:   Listing   contexts   for   virtual   host   'localhost '
2007-02-27   15:11:16   StandardContext[/manager]HTMLManager:   list:   Listing   contexts   for   virtual   host   'localhost '
2007-02-27   15:16:18   StandardContext[/manager]HTMLManager:   list:   Listing   contexts   for   virtual   host   'localhost '
2007-02-27   15:21:21   StandardContext[/manager]HTMLManager:   list:   Listing   contexts   for   virtual   host   'localhost '
2007-02-27   15:26:23   StandardContext[/manager]HTMLManager:   list:   Listing   contexts   for   virtual   host   'localhost '
2007-02-27   15:31:26   StandardContext[/manager]HTMLManager:   list:   Listing   contexts   for   virtual   host   'localhost '
2007-02-27   15:36:28   StandardContext[/manager]HTMLManager:   list:   Listing   contexts   for   virtual   host   'localhost '
2007-02-27   15:41:31   StandardContext[/manager]HTMLManager:   list:   Listing   contexts   for   virtual   host   'localhost '
2007-02-27   15:46:33   StandardContext[/manager]HTMLManager:   list:   Listing   contexts   for   virtual   host   'localhost '
2007-02-27   15:48:30   StandardWrapperValve[jsp]:   Servlet.service()   for   servlet   jsp   threw   exception
java.lang.StringIndexOutOfBoundsException:   String   index   out   of   range:   10
                at   java.lang.String.substring(String.java:1441)
                at   org.apache.jsp.newsmode_jsp._jspService(newsmode_jsp.java:221)
                at   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
                at   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                at   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
                at   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
                at   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
                at   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                at   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
                at   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
                at   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
                at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)


                at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                at   org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
                at   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
                at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                at   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
                at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                at   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
                at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
                at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                at   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                at   org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
                at   org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
                at   org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
                at   org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
我想问一下,一个jsp的网站首页是用servlet通过jsp生成静态页面,运行环境是linux+jsp+mysql,在服务器的tomcat的文件夹下的logs日志文件怎么记录着如上错误呢??到底什么原因引起的???应该怎么解决呢??

[解决办法]
你看看你是不是把MYSQL连接后,没有释放。

热点排行