当前位置: 代码迷 >> Java Web开发 >> 头痛的BUG.该怎么解决
  详细解决方案

头痛的BUG.该怎么解决

热度:29   发布时间:2016-04-17 15:46:21.0
头痛的BUG......
DBCP   object   created   2007-03-26   13:19:33   by   the   following   code   was   never   closed:
java.lang.Exception
at   org.apache.commons.dbcp.AbandonedTrace.setStackTrace(AbandonedTrace.java:202)
at   org.apache.commons.dbcp.AbandonedObjectPool.borrowObject(AbandonedObjectPool.java:121)
at   org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:140)
at   org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518)
at   org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at   org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at   org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:425)
at   org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:452)
at   org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
at   java.lang.Thread.run(Unknown   Source)

运行一段时间后TOMCAT日值常打印这个错误..网站变慢....是什么原因啊?有什么好的解决方案?

------解决方案--------------------
沙发!
  相关解决方案