Tomcat 报错的解决方法:The APR based Apache Tomcat Native library which allows optimal

来源:互联网 发布:中日友好靠韩国 知乎 编辑:程序博客网 时间:2024/04/25 20:43

Tomcat 报错的解决方法:The APR based Apache Tomcat Native library which allows optimal

 
Tomcat启动的时候出现下面这样的提示: 
2008-3-15 14:24:12 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: D:\Java\jdk1.5.0_05\bin

实际这是建议使用apache的apr。 

如果想使用apr的话, 实际操作很简单,

下载 http://tomcat.heanet.ie/native/1.1.12/binaries/win32/tcnative-1.dll

将这个文件复制到C:\WINDOWS\system32\,.也可以放在Tomcat安装路径下的bin目录里

然后重新启动tomcat.

0 0