您的位置:首页 > 运维架构 > Tomcat

12.The APR based Apache Tomcat Native library which allows optimal performance

2015-06-28 00:16 633 查看
12.The APR based Apache Tomcat Native library which allows optimal performance

解决办法:

现在用的tomcat6.0,不知道大家注意没有,在启动的时候,那个启动窗口最上面出现这样一条信息:

info:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_06/jre/lib/i386/client:/usr/java/jdk1.6.0_06/jre/lib/i386:/usr/java/jdk1.6.0_06/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib

这实际上是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], random [true].
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: