Tomcat Native library was not found

The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: 
/usr/local/jdk/jdk1.5.0_15/jre/lib/i386/client:
/usr/local/jdk/jdk1.5.0_15/jre/lib/i386:
/usr/local/jdk/jdk1.5.0_15/jre/../lib/i386

解决这个问题的方法
方法一
1  在网上下一个tcnative-1.dll文件
   下载   http://tomcat.heanet.ie/native/1.1.2/binaries/win32/tcnative-1.dll 
  
2  然后复制到C:\windows\system32下面或者放在tomcat\bin里 
  
3  重起tomcat。

 
方法二

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。
详情见 http://tomcat.apache.org/tomcat-5.5-doc/apr.html

问题搜索页面:http://www.google.com/search?hl=zh-CN&newwindow=1&q=The+Apache+Tomcat+Native+library+which+allows+optimal+performance&btnG=%E6%90%9C%E7%B4%A2&lr=


你可能感兴趣的:(java,apache,jdk,tomcat,performance)