啟動tomcat5.5.25出現如下提示:2007-11-7 11:06:06 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:
實際這是建議使用apache的apr。
解決方法:安裝Apache Tomcat Native library。
文件下載地址:http://tomcat.heanet.ie/native/ ,并選擇合適的包(假設選擇了版本1.1.2)。
環境變量配置:將下載好的文件tcnative-1.dll放到Tomcat5.5\bin\目錄下。
可能出現的問題:在安裝后,啟動Tomcat,可能會出現如下提示:INFO: An older version 1.1.2 of the Apache Tomcat Native library is installed, while Tomcat recommends version greater than 1.1.4,這說明你的版本不對,推薦版本為1.1.4,然后重新選擇該版本進行安裝。
搞定!