The APR based Apa…

最近在使用Tomcat時,總是回報這樣的一句話,

The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:C:\windows\Sun\Java\bin;。。。。。。

 

這實際上是tomcat推薦使用apache的apr
這是下載地址:
http://tomcat.heanet.ie/native/1.1.10/binaries/win32/tcnative-1.dll
下載後放在C:\WINDOWS\system32下面,重啓tomcat之後就會發現上面的信息變成下面這樣:

 

2013-11-5 13:51:22 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2013-11-5 13:51:22 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009

 

有的時候可能提示這樣的信息:

嚴重: An incompatible version 1.1.10 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.17

 

很明顯,是版本的問題,可是當你好不容易找到了1.1.17版本的 tcnative-1.dll ,tomcat會再坑你一次居然提示這樣的信息

信息: An older version 1.1.17 of the APR based Apache Tomcat Native library is installed, while Tomcat recommends version greater than 1.1.19

讓你換1.1.19的版本,有點得寸進尺呀,爲了能征服它,果斷換上1.1.19的,滿意提示:

信息: Loaded APR based Apache Tomcat Native library 1.1.19.

 

以下是站點有tcnative的一些版本,可以在選擇下載。

http://tomcat.heanet.ie/native/

這個是個人上傳csdn的地址,有tcnative-1.dll 1.1.12 1.1.14 1.1.17 1.1.18 1.1.20 1.1.22有需要可下載

http://download.csdn.net/detail/panzhe0000/6505217

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章