当前位置: 代码迷 >> Java Web开发 >> 关于连接池的有关问题急
  详细解决方案

关于连接池的有关问题急

热度:44   发布时间:2016-04-17 16:48:39.0
关于连接池的问题急!!!
我做了一个项目,JSP+TOMCAT+JNDI,开始部署到服务器上一切OK,一段时间后再去访问它就抛出如下异常:

2007-01-23   09:56:54   HTMLManager:   list:   Listing   contexts   for   virtual   host   'localhost '
2007-01-23   09:56:59   HTMLManager:   stop:   Stopping   web   application   at   '/zipcode '
2007-01-23   09:56:59   HTMLManager:   list:   Listing   contexts   for   virtual   host   'localhost '
2007-01-23   09:57:02   HTMLManager:   stop:   Stopping   web   application   at   '/zipcode '
2007-01-23   09:57:02   HTMLManager:   ManagerServlet.stop[/zipcode]
java.lang.IllegalStateException:   standardHost.stop   /zipcode:   LifecycleException:     Container   StandardContext[/zipcode]   has   not   been   started
at   org.apache.catalina.core.StandardHostDeployer.stop(StandardHostDeployer.java:802)
at   org.apache.catalina.core.StandardHost.stop(StandardHost.java:983)
at   org.apache.catalina.manager.ManagerServlet.stop(ManagerServlet.java:1303)
at   org.apache.catalina.manager.HTMLManagerServlet.stop(HTMLManagerServlet.java:573)
at   org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:159)
at   javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at   javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:286)
at   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
at   org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
at   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:205)
at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at   org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)
at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
at   org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
at   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:177)
at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at   org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
at   org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
at   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
at   org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
at   org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:203)
  相关解决方案