tomcat 7.0.32 启动出现 Apache Tomcat Native library 版本异常
操作步骤:1、下载tomcat 7.0.32 ,地址http://tomcat.apache.org/download-70.cgi
2、在eclipse中启动出现以下异常
===================
2012-11-14 13:24:28 org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
2012-11-14 13:24:28 org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
2012-11-14 13:24:28 org.apache.catalina.startup.SetAllPropertiesRule begin
警告: {Server/Service/Connector} Setting property 'start-timeout' to '245' did not find a matching property.
2012-11-14 13:24:28 org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
2012-11-14 13:24:28 org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
2012-11-14 13:24:28 org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
=====================
说明 Apache Tomcat Native library版本较旧了,下个新的版本1.1.24【tomcat-native-1.1.24-win32-bin.zip】,地址:http://tomcat.apache.org/download-native.cgi
解压后把里面的文件【tcnative-1.dll】放到jdk 的bin目录下就可以了
启动日志如下:
========================
2012-11-14 13:31:24 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.24 using APR version 1.4.6.
2012-11-14 13:31:24 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 , sendfile , accept filters , random .
2012-11-14 13:31:24 org.apache.catalina.startup.SetAllPropertiesRule begin
警告: {Server/Service/Connector} Setting property 'start-timeout' to '245' did not find a matching property.
2012-11-14 13:31:25 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized (OpenSSL 1.0.1c 10 May 2012)
2012-11-14 13:31:25 org.apache.coyote.AbstractProtocol init
=========================
页:
[1]