解决Tomcat启动时出现的The APR based Apache Tomcat Native library异常
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决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下载后放到tomcat安装目录下的bin目录下,重启tomcat之后就会发现最上面的信息变成下面这样:
org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.12.
org.apache.catalina.core.AprLifecycleListener
init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], ra
ndom [true].
大功告成!
以上是关于解决Tomcat启动时出现的The APR based Apache Tomcat Native library异常的主要内容,如果未能解决你的问题,请参考以下文章
SpringBoot内嵌Tomcat开启APR模式,提升并发
SpringBoot内嵌Tomcat开启APR模式,提升并发
问题解决:信息提示SpringBoot启动时提示The APR based Apache Tomcat Native library which allows optimal performanc(代
解决:The APR based Apache Tomcat Native library which allows optimal performance in production...(示例代码
IDEA启动报错,项目无法访问:The APR based Apache Tomcat Native library which allows optimal perfor