今天启动MyEclipse自带的Tomcat时,控制台返回如下错误:The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java。
在网上找了解决方法:
----------------------------------------------------------
参考这里http://tomcat.apache.org/tomcat-6.0-doc/apr.html
Windows
Windows binaries are provided for tcnative-1, which is a statically compiled .dll which includes OpenSSL and APR. It can be downloaded from here as 32bit or AMD x86-64 binaries. In security conscious production environments, it is recommended to use separate shared dlls for OpenSSL, APR, and libtcnative-1, and update them as needed according to security bulletins. Windows OpenSSL binaries are linked from the Official OpenSSL website (see related/binaries).
去拷贝一个tcnative-1.dll
下载地址:http://tomcat.heanet.ie/native
-----------------------------------------------------------
放到
C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/bin
目录下,通过。
我用的是tcnative-1.dll 的1.1.14版本,好像tomcat会自动提示你找匹配的或者最新的。