The APR based Apache Tomcat Native library

  • Post author:
  • Post category:其他


Tomcat启动的时候出现下面这样的提示:

2008-3-15 14:24:12 org.apache.catalina.core.AprLifecycleListener init

信息: The APR based Apache Tomcat Native library which allows optimal performanc

e in production environments was not found on the java.library.path: D:/Java/jdk1.5.0_05/bin;.;C:/WINDOWS/system32;C:/WINDOWS;d:/ruby/bin;.;..;D:/Java/jrockit-R26.0.0-jdk

…….

实际这是建议使用apache的apr。

如果想使用apr的话, 实际操作很简单,

下载

http://tomcat.heanet.ie/native/1.1.12/binaries/win32/tcnative-1.dll

将这个文件复制到C:/WINDOWS/system32/,.也可以放在Tomcat安装路径下的bin目录里

然后重新启动tomcat,就会发现tomcat 的控制台信息为:

2008-3-15 14:33:49 org.apache.catalina.core.AprLifecycleListener init

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

2008-3-15 14:33:49 org.apache.catalina.core.AprLifecycleListener init

信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], ra

ndom [true].

……



版权声明:本文为scorpionqxq原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。