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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值