博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理

java学习笔记(2)-tomcat apr 错误解决

Posted on 2010-01-26 08:58  ╁蓝驿┲→  阅读(1173)  评论(1编辑  收藏  举报

昨天,在MyEclipse下启动Tomcat出现了 The APR based Apache Tomcat Native library 问题,折腾了半天,n次的重装和卸载服务器,终于找到了祸首。由此把这个过程日志下来。

错误:The APR based Apache Tomcat Native library…
网上解决:http://topic.csdn.net/u/20090111/20/d74c3aa4-697d-4fcc-b034-feaab815e81d.html
http://www.cnblogs.com/tjsquall/archive/2008/03/05/1091911.html
http://tomcat.heanet.ie/native/

我使用的是tomcat6.0和MyEclipse6.6

启动myeclipse server 主页没有弹出来看了一下信息有一条是信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:....

我的解决:我试着使用上面的地址,按照上面的方法下子 tcnative-1.dll 放到tomcat\bin下提示:严重: An incompatible version 1.1.12 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.17  ,但我在官方没有看到1.1.17的版本,试了用高版本的dll也是错误;无奈,n次的卸载和按照tomcat6后,最后下载安装了tomcat5.5版本,然后重新配置tomcat在MyEclipse中的服务器,重新部署,最终成功了,真是感激涕零。初学java,碰到很多钉子,如果学习者同样问题,可以尝试着试下上面的地址和下载tomcat5.5版本试试。望分享更多经验心得。。。。

参考资料:http://www.blogjava.net/beansoft/archive/2006/12/22/89577.html

出自:http://www.tree360.cn/blog/article.asp?id=166