在MYECLIPSE中启动TOMCAT5时出现“The Apache Tomcat Native library which allows optimal pe

      

tomcat5的The Apache Tomcat Native library which allows optimal performance问题
tomcat5运行时提示如下信息:

 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance in produ
ction environments was not found on the java.library.path: c:/program files/java/bin;C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin;
在网上搜索了一下,实际上是建议使用apache的apr.
何为apr?
apr全称Apache Portable Runtime,即可移植运行库。
Tomcat 可以用 Apache Portable Runtime 来提供更强性能,提升Web静态页面的处理能力,不再需要专门的Web Server来处理静态页面了
但是APR的支持需要安装三个本地组件
APR support requires three main native components to be installed:
1、APR library
2、JNI wrappers for APR used by Tomcat (libtcnative)
3、OpenSSL libraries
如果想使用apr的话,操作很简单。
http://tomcat.heanet.ie/native上 binaries/win32/tcnative-1.dll目录下下载最新版的tcnatie-1.dll文件,放到
c:/program files/java/bin目录下,然后重启tomcat,一切正常。

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值