• 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对象失败,包地址写错了


      更正后问题解决;

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

  • 相关阅读:
    WSGI学习系列WSME
    Murano Weekly Meeting 2015.08.11
    Trace Logging Level
    OpenStack Weekly Rank 2015.08.10
    markdown语法测试集合
    css-定位
    html图像、绝对路径和相对路径,链接
    html块、含样式的标签
    html标题、段落、换行与字符实体
    html概述和基本结构
  • 原文地址:https://www.cnblogs.com/inyu/p/13659092.html
Copyright © 2020-2023  润新知