zoukankan      html  css  js  c++  java
  • Tomcat 报错 The APR based Apache Tomcat Native library which allows optimal performance in production environmen

    这个问题在我一次重新装了tomcat和myeclipse时出现 说实话 出现这个问题头大 但是好在解决了 美滋滋 最开始到处寻找各种解决方案 最后直接注释了server.xml中的一行 直接解决这个报错 虽然不完美,但是还是贴出来 分析一下我的成果

    这一行进行注释掉就不会出现那个问题了<!-- <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />-->

    <Server port="8005" shutdown="SHUTDOWN">
    
      <!--APR library loader. Documentation at /docs/apr.html -->
     <!-- <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" /> -->就是这一行啦 你自己找找server.xml中的这一行
      <!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
      <Listener className="org.apache.catalina.core.JasperListener" />
      <!-- Prevent memory leaks due to use of particular java/javax APIs-->
      <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
      <!-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html -->
      <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
      <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    
      <!-- Global JNDI resources
           Documentation at /docs/jndi-resources-howto.html
      -->
    

      

    以后慢慢想 现在解决不了这个问题 但是不报错了

    恐惧源于无知,代码改变世界
  • 相关阅读:
    I/O模型
    同步异步与协程
    GIL(全局解释器锁)
    解决pycharm启动慢
    操作系统发展史
    TCP和UDP
    粘包问题
    网络编程
    异常
    常用函数汇总
  • 原文地址:https://www.cnblogs.com/ad-zhou/p/8954907.html
Copyright © 2011-2022 走看看