天天看點

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