zoukankan      html  css  js  c++  java
  • tomcat无故停止

    2015-6-9 17:11:45 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
    严重: The web application [/XXTServer] 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.
    2015-6-9 17:11:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
    严重: The web application [/XXTServer] appears to have started a thread named [commons-pool-EvictionTimer] but has failed to stop it. This is very likely to create a memory leak.
    2015-6-9 17:11:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
    严重: The web application [/XXTServer] appears to have started a thread named [net.sf.ehcache.CacheManager@4391f0] but has failed to stop it. This is very likely to create a memory leak.
    2015-6-9 17:11:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
    严重: The web application [/XXTServer] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
    2015-6-9 17:11:45 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
    严重: The web application [/XXTServer] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.

    tomcat常常运行一段时间后自动停止,也不闪退,就卡在那儿……启动时正常;关闭的时候显示没有响应,强行结束进程后日志中报错。

    这个问题困扰了我好久!某厂人一天要找我好多次说平台登录不上了,我就只能守在实验室重启tomcato(╯□╰)o

    网上好多人说这是数据库连接没有释放,得从程序上改。我纳闷的是为什么本地开发的时候从来没有这样的问题,独独发布到服务器上就成这样了?!

    后来抱着死马当活马医的心态修改了tomcat的内存设置,它好了……Σ( ° △ °|||)︴

  • 相关阅读:
    AttributeError: module ‘select’ has no attribute 'epoll’
    mac 下使用Charles抓包华为手机app
    mac 安装注册Charles
    LINK : fatal error LNK1181: cannot open input file 'glew32.lib' error: command 'C:\Program Files (
    glew的安装
    pytest . class
    无法导入cv2模块(Python 3.6)
    mac 使用tesseract识别图片中的中文
    xsxsxs
    struct 声明类
  • 原文地址:https://www.cnblogs.com/qiluoao13077220/p/4568167.html
Copyright © 2011-2022 走看看