1. 程式人生 > >Tomcat 報錯的解決方法:The APR based Apache Tomcat Native library which allows optimal

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.