The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path

十二月 14, 2012 7:57:03 下午 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java。。。。

问题出现的原因:

tomcat推荐使用apache的apr(Apache portable Run-time libraries,Apache可移植运行库).

解决方法:

下载地址:http://archive.apache.org/dist/tomcat/tomcat-connectors/native

通过上述链接下载tcnative-1.dll文件, 你可以自己选择最新的版本,然后将下载下来的文件放到C:\WINDOWS\system32中即可,

重启tomcat就可以。

解决后的运行结果为:

十二月 14, 2012 8:02:50 下午 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.24 using APR version 1.4.6.

 

时间: 2024-10-31 07:42:55

The APR based 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 问题的解决

信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:XXXX 出现原因分析: Tomcat建议使用apache的apr,来更好的运行Tomcat; ------–apache的apr 的介绍 --------- APR(Apache portable Run-

DRP问题集结(三)--- The APR based Apache Tomcat Native library which allows optimal performance in product

             问题一:  Tomcat无法启动,报错java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory           问题二:[Error]JavaWeb: 严重: Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"]           问题三:The APR based Apa

ubuntu 10.4 The APR based Apache Tomcat not found

问题描述 The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /home/lonso/java/jdk/jre/lib/i386/server:/home/lonso/java/jdk/jre/lib/i386:/home/lonso/java/jdk/jre/..

Apache Portable Runtime which allows optimal performance in production environments was not found

一.发现问题 在启动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作

environments was not found on the java.library.path 问题的解决方法_Linux

Tomcat 启动出现信息如下: 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:XXXX 出现原因分析: Tomcat建议使用apache的apr,来更好的运行Tomcat; apache的apr 的介绍 APR(Apache portable Run-

tomcat-启动Tomcat时出现警告: The APR based Apache...

问题描述 启动Tomcat时出现警告: The APR based Apache... 一月 04, 2016 10:42:32 上午 org.apache.catalina.core.AprLifecycleListener init 警告: The APR based Apache Tomcat Native library failed to load. The error reported was [D:apache-tomcat-7.0.67in cnative-1.dll: Can'

Docker自动部署Apache Tomcat

本文讲的是Docker自动部署Apache Tomcat,[编者的话]本文是Docker的入门文章,推荐Java开发者阅读.文章详细介绍了如何用Docker来安装部署Tomcat. 介绍 本文会讲述: 扩展Tomcat的官方Dockerfile 构建新的镜像 从修改过的新镜像启动容器 在容器里部署RESTful的Web服务并测试 Apache Tomcat 使用docker search可以查到最流行的(和官方的)Docker Tomcat容器: $ sudo docker search tom

第 47 章 Apache Tomcat

47.1. Tomcat 安装与配置 47.1.1. Tomcat 6 解压安装 chmod +x jdk-6u1-linux-i586.bin ./jdk-6u1-linux-i586.bin 输入"yes"回车 mv jdk1.6.0_01 /usr/local/ ln -s /usr/local/jdk1.6.0_01/ /usr/local/java /etc/profile.d/java.sh 例 47.1. /etc/profile.d/java.sh ##########

第 2 章 Apache Tomcat

目录 2.1. Tomcat 安装与配置 2.1.1. Tomcat 6 2.1.1.1. tomcat-native 2.1.1.2. 启动脚本 2.1.2. Tomcat 7 2.1.2.1. Server JRE 2.1.2.2. Tomcat 2.1.3. Java 8 + Tomcat 8 2.1.3.1. systemctl 启动脚本 2.1.3.2. Session 共享 2.1.3.2.1. test session 2.1.4. 防火墙配置 2.1.5. 同时运行多实例 2.1