zoukankan      html  css  js  c++  java
  • 严重: The web application [] registered the JDBC driver 错误

      近日发现启动tomcat的时候报如下警告:

    2014-9-16 10:25:26 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
    严重: The web application [] 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.
    2014-9-16 10:25:26 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
    严重: The web application [] appears to have started a thread named [Timer-0] but has 
    failed to stop it. This is very likely to create a memory leak.

    原因: 

          使用killall 或者 kill -9直接杀死java进程,导致相关内存没有及时释放.

    解决:

      使用stop.sh来停止tomcat.

  • 相关阅读:
    手机自动化
    记录
    Linux 死机了怎么办
    前端源码
    LNMP环境
    PHP学习之路(一)
    py
    蜘蛛问题
    mongodb
    【HTML/XML 2】XML基础知识点总结
  • 原文地址:https://www.cnblogs.com/onmyway20xx/p/3974371.html
Copyright © 2011-2022 走看看