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

  今天测试主机在编译发布完项目之后,发现测试环境的项目启不来了,于是,我就通过打开测试主机的日志查看到底是怎么回事,

发现日志中有一条错误信息,正如标题中的内容,这种错误解决起来并不难,如下是我的解决方法。

  打开网址:http://archive.apache.org/dist/tomcat/tomcat-connectors/native,进入 1.1.22 文件夹中,然后进入 binaries 文件夹,

再根据相应的系统进入对应文件夹,我选择的是win64,如图

  再进入x64项目中,下载tcnative-1.dll文件,将其放入到Linux主机中的tomcat文件下的bin目录。

  最后,重启tomcat即可。

  $ ./shutdown.sh

  $ ./startup.sh

原文地址:https://www.cnblogs.com/huyj99/p/10894827.html

时间: 2024-10-12 23:05:05

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

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;

最近玩起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;C:\Windows\Sun\Java\bin;C:\Windows

信息: 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 environments was not found on the java.library.path: C:\Program Files (x86)\Java\jre1.8.0_111\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Win

出现错误日志:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path

tomcat6出现错误日志: 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib 解决: 通过安装和配置apr解决. Tomcat Na

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

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; ---------------------------------------

【问题解决:信息提示】SpringBoot启动时提示The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path

问题描述 springboot程序在启动时提示信息 [2018-10-24 21:59:05.214] - 440 信息 [restartedMain] --- org.apache.catalina.core.StandardService: Starting service [Tomcat] [2018-10-24 21:59:05.220] - 440 信息 [restartedMain] --- org.apache.catalina.core.StandardEngine: Start

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

今天 ,我在Eclipse中启动Tomcat6.0时,发生如下异常: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:..... 解决如下: 在http://tomcat.heanet.ie/native/下载dll文件:tcnative-1.dll(现在版本是1.1.14) 把它扔

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

下载与你Tomcat对应版本的 tcnative-1.dll,放到apache-tomcat-7.0.57\bin 目录下,重启tomcat http://archive.apache.org/dist/tomcat/tomcat-connectors/native/

解决Tomcat启动时出现的The APR based Apache Tomcat Native library异常

现在用的tomcat6.0,不知道大家注意没有,在启动的时候,那个启动窗口最上面出现这样一条信息: 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: 这实际上是tomcat推荐使用apache的apr 需要下载tcnative-1.dll 下载后放到tom

The APR based Apache Tomcat Native library tomcat启动错误

The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib 由代码可知是缺少APR模块导致的错误. 1.安装APR wget http://apache