tomcat 6.0 的The Apache Tomcat Native library which allows optimal performance 的解决

tomcat 6.0 的The Apache Tomcat Native library which allows optimal performance 的解决

Tomcat启动的时候出现下面这样的提示:

2007-3-30 19:09:08 org.apache.catalina.core.AprLifecycleListener init
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:/Program Files/Java/jdk1.6.0_01/bin;D:/Tomcat 6.0/bin

 

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

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

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

按照说明要求,将这个文件放到Tomcat下的bin目录下

然后重新启动tomcat,就会发现tomcat 的控制台信息为:

2007-3-30 19:34:18 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded Apache Tomcat Native library 1.1.8.

 

 

详情见 http://tomcat.apache.org/tomcat-6.0-doc/apr.html

FROM: http://yue-beru.spaces.live.com/blog/cns!51e46661f2d36a66!189.entry 

你可能感兴趣的:(apache,tomcat,c,performance,library)