转自 http://hi.baidu.com/osx86cn/blog/item/c0a20ac485bc4bcd38db495e.html
现在用的tomcat6.0,不知道大家注意没有,在启动的时候,那个启动窗口最上面出现这样一条信息:
2008-10-4 22:59:03 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performanc
e in production environments was not found on the java.library.path:
这实际上是tomcat推荐使用apache的apr
这是下载地址:
http://tomcat.heanet.ie/native/1.1.12/binaries/win32/tcnative-1.dll
下载后放到tomcat安装目录下的bin目录下,重启tomcat之后就会发现最上面的信息变成下面这样:
2008-10-4 23:03:08 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.12.
2008-10-4 23:03:08 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], ra
ndom [true].
特此记下,以免忘记