was not found on the java.library.path

The Apache Tomcat Native library which

 

allows optimal performance in


production environments was not found


on the java.library.path:


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

2006-1-26 19:44:11 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance 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.9/binaries/win32/tcnative-1.dll

将这个文件复制到C:/WINDOWS/system32/下面

然后重新启动tomcat,就会发现tomcat 的控制台信息为:
2006-1-26 19:48:42 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-9080



详情见 http://tomcat.apache.org/tomcat-5.5-doc/apr.html

 

引用地址:http://energykey.javaeye.com/blog/305449

你可能感兴趣的:(apache,tomcat,c,performance,library)