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目錄下【修正:將這個文件復制到C:"WINDOWS"system32"下面 ,應該放在這里.】
然后重新啟動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