因仑“3+1”工程特种兵精英论坛

标题: eclipse环境下l解决Tomcat加载时报APR错的问题的方法 [打印本页]

作者: lwy    时间: 2014-1-13 21:38
标题: eclipse环境下l解决Tomcat加载时报APR错的问题的方法
启动eclipse的tomcat6.0有如下提示:
The APR based 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_04\jre\bin;C:\Program Files\Tomcat 6.0\bin

原因很简单,就是Tomcat在Server.xml中默认有配置加载ARP library,但是没找到相关文件。
配置文件是这样写的,
<!--APR library loader. Documentation at /docs/apr.html -->
  <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />

http://tomcat.heanet.ie/native/1.1.10/binaries/win32/
下载保存到%tomcat_home%/bin下面即可。
我在这里分享一个





欢迎光临 因仑“3+1”工程特种兵精英论坛 (http://bbs.enlern.com/) Powered by Discuz! X3.4