tomcat启动后不久就报memory leak错误。中间很少的访问请求

七月 12, 2014 11:02:20 下午 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/70  config=null
七月 12, 2014 11:02:20 下午 org.apache.catalina.startup.Catalina start
INFO: Server startup in 4046 ms
23:02:20.906 [net.sf.ehcache.CacheManager@125d0ee8] DEBUG         net.sf.ehcache.util.UpdateChecker - Checking for update...
23:02:21.999 [net.sf.ehcache.CacheManager@125d0ee8] INFO      net.sf.ehcache.util.UpdateChecker - New update(s) found: 2.6.5     [http://www.terracotta.org/confluence/display/release/Release+Notes+Ehcache+Core+2.6]. Please check http://ehcache.org for the latest version.

JFinal action report -------- 2014-07-12 23:05:01 ------------------------------
Controller  : me.luger.controller.CarLocusController.    (CarLocusController.java:1)
Method      : getGoodsOwnerNearCar
--------------------------------------------------------------------------------
七月 13, 2014 1:16:16 上午 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
七月 13, 2014 1:16:17 上午 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
七月 13, 2014 1:16:17 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/Car] registered the JDBC driver     [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
七月 13, 2014 1:16:17 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/Car] registered the JDBC driver     [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
七月 13, 2014 1:16:17 上午 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080

从上面的日志看11:02才启动tomcat,中间就只有一次访问。然后就在01:16的时候提示memory leak问题停止服务了。这是什么原因?代码看了看感觉没问题,是不是druid的问题?谢谢大家。

阅读 21.2k
2 个回答
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题