zoukankan      html  css  js  c++  java
  • tomcat加载失败

    tomcat启动加载信息如下:
    Connected to server
    [2017-10-16 09:02:28,149] Artifact basic-admin:war exploded: Artifact is being deployed, please wait...
    十月 16, 2017 9:02:31 下午 org.apache.catalina.startup.TldConfig execute
    信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
    十月 16, 2017 9:02:36 下午 org.apache.catalina.core.StandardContext startInternal
    严重: One or more listeners failed to start. Full details will be found in the appropriate container log file
    十月 16, 2017 9:02:36 下午 org.apache.catalina.core.StandardContext startInternal
    严重: Context [] startup failed due to previous errors
    十月 16, 2017 9:02:36 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
    严重: The web application [] registered the JDBC driver [com.alibaba.druid.mock.MockDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
    十月 16, 2017 9:02:36 下午 org.apache.catalina.loader.WebappClassLoaderBase 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.
    十月 16, 2017 9:02:36 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
    严重: The web application [] 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.
    [2017-10-16 09:02:36,402] Artifact basic-admin:war exploded: Error during artifact deployment. See server log for details.
    十月 16, 2017 9:02:37 下午 org.apache.catalina.startup.HostConfig deployDirectory
    信息: Deploying web application directory E:serverapache-tomcat-7.0.69webappsmanager
    十月 16, 2017 9:02:38 下午 org.apache.catalina.startup.HostConfig deployDirectory
    信息: Deployment of web application directory E:serverapache-tomcat-7.0.69webappsmanager has finished in 141 ms
    尝试解决方法:

    • tomcat从6.0.24版本之后引入了内存泄漏侦测的功能,当发现系统有垃圾无法回收时,就会输出日志信息。
      • 未解决
    • j将tomcat/conf/server.xml文件中的 listener注释;
      • 未解决
    • 查看tomcat启动log记录、位置如下

    • 发现在tomcat启动时,创建bean对象失败,包地址写错了


      更正后问题解决;

    • 发现问题还是要多看日志。。里面提供很多详细信息。。对解决问题很有帮助!

  • 相关阅读:
    Eclipse配置Maven的本地仓库和阿里云镜像 加速Maven更新
    layui弹出层基础参数
    鼠标悬停设置layui tips提示框
    Java实现文本中的关键字高亮,匹配所有长度
    获取指定格式的系统时间
    截取过长的字符,多余的字符将由省略号代替
    身份证处理方法(15转18,出生日期隐藏)
    layDate面板出现红色花纹图案
    layer单选框 radio的问题总结
    Android--多线程之Handler
  • 原文地址:https://www.cnblogs.com/inyu/p/13659092.html
Copyright © 2011-2022 走看看