`

tomcat 问题: "The APR based Apache Tomcat Native library which allows optimal perf

阅读更多

问题信息详细:

2012-5-18 18:41:54 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\jdk1.6.0_31\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jdk1.6.0_31\jre\bin;C:/Program Files/......

 

问题出现的原因:

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就可以。

 

(1)

 

(2)

 

(3)

 

(4)

 

(5)

 

解决后的运行结果为:

org.apache.catalina.core.AprLifecycleListener init

信息: Loaded APR based Apache Tomcat Native library 1.1.23.

  • 大小: 36.1 KB
  • 大小: 4 KB
  • 大小: 18.5 KB
  • 大小: 12.4 KB
  • 大小: 19.2 KB
1
0
分享到:
评论
发表评论

文章已被作者锁定,不允许评论。

相关推荐

    The APR based Apache Tomcat Native library which allows optimal performance in p

    标题中的"The APR based Apache Tomcat Native library"是指Apache Portable Runtime(APR)库的一个组件,即Apache Tomcat Native库。这个库是专门为Apache Tomcat设计的,目的是为了提高其在处理网络I/O、系统调用...

    启动tomcat出错The Apache Tomcat Native library which allows optimal performance in production environments was not found

    TOMCAT昨天突然自己宕掉服务了,怎么重起都不行,后来查看logs中catalina.out 日志发现如下错误 INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not ...

    tomcat 启动报APR based Apache Tomcat Native library not found

    标题 "tomcat 启动报APR based Apache Tomcat Native library not found" 指出的问题是关于Apache Tomcat服务器在启动时找不到基于APR(Apache Portable Runtime)的本机库。这通常涉及到Tomcat使用APR库来提高性能...

    Tomcat Native Liberay 文件

    The Apache Tomcat Native Liberay which allows optimal performance in production environments was not found on the java.library.path:E:\java\jdk1.5.0_05

    tomcat启动的问题--apr

    信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Java\jre1.5.0_11\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\...

    有关Tomcat--APR问题配置

    The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path CProgram FilesJavajdk1.6.0_04jrebin;CProgram FilesTomcat ...

    tcnative-1.dll各个版本整合

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

    1.1.32和1.1.33的64位tcnative-1.dll

    这个库文件在Java应用程序中扮演着关键角色,特别是对于Apache Tomcat这样的Java应用服务器,它是一个开源的、用于部署Java Web应用的服务器。本文将深入探讨1.1.32和1.1.33这两个版本的64位tcnative-1.dll,并讨论...

    各个版本tcnative-1.dll

    解决tomcat启动时如下异常:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path

    tcnative-1.dll 1.2.18 32位64 位

    tcnative-1.dll 1.2.18 tomcat 启动报错 The APR based Apache Tomcat Native library which allows optimal performance in production 问题的解决需要这个,注意自己需要什么版本,之前下了1.2.14 显示版本不对:...

    CentOS 6.5上的Tomcat启动报错问题解决方法

    The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path 2、第二个错误,错误详情: Exception in thread “main” ...

    tcnative-1.dll

    运行Tomcat的时候,报错如下:解决tomcat启动时如下异常:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path ...

    tcnative-1.dll1.4.8

    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\jdk1.6.0\bin 用tcnative-1.dll1.4.8...

    tcnative-1.dll(最新tomcat-native-1.2.21-openssl-1.0.2q 含32/64)

    1.解决:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path... 2.用法:win+R 到C:\Windows\System32里面去 ,...

    tcnative-1.dll 1.2.14 32/64 位

    tcnative-1.dll 1.2.14 tomcat 启动报错The APR based Apache Tomcat Native library which allows optimal performance in production 问题的解决需要这个

    tomcat-native.tar.gz-------tomcat会报的错误

    信息: The APR based Apache Tomcat Native library which allows optimal performanc e in production environments was not found on the java.library.path: D:\Tomcat 6 .0\bin;.;C:\WINNT\Sun\Java\bin;C:\...

    tcnative-1(32位和64位)

    信息: The APR based Apache Tomcat Native library which allows optimal performanc e in production environments was not found on the java.library.path:... 选择对应的下载的文件(32位或者64位)复制到C:/...

    tomcat 报异常解决

    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\jdk1.6.0_04\jre\bin;C:\Program ...

Global site tag (gtag.js) - Google Analytics