Apache Portable Runtime which allows optimal performance in production environments was not found
2014-04-06 14:01
441 查看
一、发现问题
在启动Tomcat5.5的时候发现console中有一句话The Apache Portable Runtime which allows The optimal performance in production environments was not found on the java.library.path。这是个定语从句,翻译为:可以允许在生产环境中有最佳的表现的Apache Portable Runtime没有再java.libary.path中被找到。
二、APR作用
Apache Portable Runtime是一个用C语言写成文件包,目的在于提高Tomcat的服务性能,从而使得Tomcat将不仅仅担任一个应用服务器的功能,而是要成为一个一般的web服务器(general urpose webserver),就是提升Web静态页面的处理能力。portable意思为便携的。
三、解决问题
首先要到Tomcat网站下载:http://tomcat.apache.org/download-native.cgi找到Native 1.1.13 Source Release zip这是个源文件,如果要自己编译就下这个,如果想使用已编译好的dll文件就点击这个链接下面的“Here“链接,找一个版本号最新的,进去可以下载一个tcnative-1.dll文件。
配置该文件的简单方法就是把这个文件扔到windows/system32下面,因为已经在path下配置好了这个路径,系统启动后就可以找到这个路径下的文件。若想放到自己指定的位置,比如Tomcat安装路径下,那么就要在path中指定好这个路径。可以首先根据惯例在系统变量中设置CATALINA_HOME变量,然后再把%CATALINA_HOME%/bin加入到path中,然后再把下载的dll文件放到bin路径下就可以了。
原帖地址:http://blog.csdn.net/pipipig521/article/details/3323795
在启动Tomcat5.5的时候发现console中有一句话The Apache Portable Runtime which allows The optimal performance in production environments was not found on the java.library.path。这是个定语从句,翻译为:可以允许在生产环境中有最佳的表现的Apache Portable Runtime没有再java.libary.path中被找到。
二、APR作用
Apache Portable Runtime是一个用C语言写成文件包,目的在于提高Tomcat的服务性能,从而使得Tomcat将不仅仅担任一个应用服务器的功能,而是要成为一个一般的web服务器(general urpose webserver),就是提升Web静态页面的处理能力。portable意思为便携的。
三、解决问题
首先要到Tomcat网站下载:http://tomcat.apache.org/download-native.cgi找到Native 1.1.13 Source Release zip这是个源文件,如果要自己编译就下这个,如果想使用已编译好的dll文件就点击这个链接下面的“Here“链接,找一个版本号最新的,进去可以下载一个tcnative-1.dll文件。
配置该文件的简单方法就是把这个文件扔到windows/system32下面,因为已经在path下配置好了这个路径,系统启动后就可以找到这个路径下的文件。若想放到自己指定的位置,比如Tomcat安装路径下,那么就要在path中指定好这个路径。可以首先根据惯例在系统变量中设置CATALINA_HOME变量,然后再把%CATALINA_HOME%/bin加入到path中,然后再把下载的dll文件放到bin路径下就可以了。
原帖地址:http://blog.csdn.net/pipipig521/article/details/3323795
相关文章推荐
- 解决“The Apache Portable Runtime which allows optimal performance in production environments was not found on the java.library.pat
- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
- The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.p
- IDEA搭建ssm框架测试衍生出的问题The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Develop\jdk7\jdk1.7.0_79\bin;
- 关于Tomcat的 The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found o
- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java
- The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.p
- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path 问题的解决
- 解决:The Apache Tomcat Native library which allows optimal performance in production environments was not found
- The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:
- The Apache Tomcat Native library which allows optimal performance in production environments was not found
- 解决Tomcat启动报错:The Apache Tomcat Native library which allows optimal performance in production environments was not found on the j
- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java
- The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.p
- The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java
- The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:
- 解决:The Apache Tomcat Native library which allows optimal performance in production environments was not found
- tomcat6.0The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.