Tomcat 6.0.10 与APR

如果没有安装APR,在运行Tomcat之前,窗口中会打印出如下信息:tomcat6.0The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path。如果你忽略它并不会影响你的正常使用。这是因为Tomcat 可以用 Apache Portable Runtime 来提供更强性能,提升Web静态页面的处理能力,不再需要专门的Web Server来处理静态页面了。 

但是APR的支持需要安装三个本地组件:
1、APR library
2、JNI wrappers for APR used by Tomcat (libtcnative)
3、OpenSSL libraries

我们可以点击这里http://tomcat.heanet.ie/native下载编译好的 tcnative-1.dll 文件,然后把它放到bin目录中就OK了。 相关的文档请参见:http://tomcat.apache.org/tomcat-5.5-doc/apr.html

 

你可能感兴趣的:(apache,tomcat,Web,jni,IE)