解决:The Apache Tomcat Native library which allows optimal performance in production environments was not found

用Myeclipse 6.0和tomcat 6.0,运行tomcat时候出现如下问题:

tomcat6.0The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path (...你的系统环境PATH路径...)
tomcat推荐使用apache的apr(Apache portable Run-time libraries,Apache可移植运行库)
http://tomcat.apache.org/tomcat-6.0-doc/apr.html .
有个解决办法是在http://tomcat.heanet.ie/native/下面去下个tcnative-1.dll放到/WINDOWS/system32下面重起Myeclipse 6.0,但是我怎么重启几次,都TM不行,气死人.把哪个tcnative-1.dll放到/TOMCAT/bin/下就OK了. 注意要1.1.8版本的

 

 

 

用Myeclipse和tomcat,运行tomcat时候出现如下问题:

The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:/Program Files/Java/jdk1.6.0_02/bin;D:/Program Files/Apache Software Foundation/Tomcat 6.0/bin


这实际上是tomcat推荐使用apache的apr

这是下载地址:

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

下载后放在C:/WINDOWS/system32下面,我用其他版本的好像不行,不知道怎么回事,貌似这个1.1.10的比较好。重启动Myeclipse之后,点击运行tomcat还是不行,但是点重启动tomcat按钮就行。他马的,不知道咋回事,特此记下,还请高手指点。

 

转自:http://bufeifang.blog.163.com/blog/static/5589815120103703229407/

 

我也是把tcnative-1.dll 放在/apache-tomcat-6.0.18/bin 目录下就解决问题。。(MyEclipse 是6.5,tomcat 是6.0.18)

阅读更多
个人分类: j2ee-MyEclipse
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭