您的位置:首页 > 其它

The APR based Apa…

2013-11-20 11:58 281 查看
最近在使用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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: