>>梦想乡<<

往jdk/bin目录中增加tcnative-1.dll文件以后报错 Can't load AMD 64-bit .dll on a IA 32-bit platform

开始时,运行Tomcat控制台报错:

The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/jdk1.6.0_26/jre/lib/i386/server:/usr/local/jdk1.6.0_26/jre/lib/i386:/usr/local/jdk1.6.0_26/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib

 根据文档“http://blog.csdn.net/isea533/article/details/7624056/”,将tcnative-1.dll文件放入jdk/bin目录,结果报错:

 Can't load AMD 64-bit .dll on a IA 32-bit platform

 只好安装64/32位的Tomcat,但是依旧报错。于是将tcnative-1.dll文件删除,结果两个错误都没了,问题解决了。

 

posted @ 2016-05-18 01:15  文苏  阅读(11235)  评论(0编辑  收藏  举报