marty001 发表于 2017-1-23 11:15:08

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=
页: [1]
查看完整版本: Tomcat Native library was not found