tomcat 6.0 的The Apache Tomcat Native library which allows optimal performance 的解決[轉(zhuǎn)載]
tomcat 6.0 的The Apache Tomcat Native library which allows optimal performance 的解決
Tomcat啟動(dòng)的時(shí)候出現(xiàn)下面這樣的提示:
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
實(shí)際這是建議使用apache的apr。
如果想使用apr的話, 實(shí)際操作很簡單,
下載 http://tomcat.heanet.ie/native/1.1.8/binaries/win32/tcnative-1.dll
按照說明要求,將這個(gè)文件放到Tomcat下的bin目錄下【修正:將這個(gè)文件復(fù)制到C:"WINDOWS"system32"下面 ,應(yīng)該放在這里.】
然后重新啟動(dòng)tomcat,就會(huì)發(fā)現(xiàn)tomcat 的控制臺信息為:
2007-3-30 19:34:18 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded Apache Tomcat Native library 1.1.8.
posted on 2008-06-28 10:24 oxidy 閱讀(1205) 評論(0) 編輯 收藏 所屬分類: Web Service Application