标签:
现在用的tomcat6.0,不知道大家注意没有,在启动的时候,那个启动窗口最上面出现这样一条信息:
信息: The APR based Apache Tomcat Native library which allows optimal performance in production
environments was not found on the java.library.path:
这实际上是tomcat推荐使用apache的apr
需要下载tcnative-1.dll下载后放到tomcat安装目录下的bin目录下,重启tomcat之后就会发现最上面的信息变成下面这样:
org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.12.
org.apache.catalina.core.AprLifecycleListener
init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], ra
ndom [true].
大功告成!
解决Tomcat启动时出现的The APR based Apache Tomcat Native library异常
标签:
原文地址:http://www.cnblogs.com/bobshieh/p/5158581.html