欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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

程序员文章站 2022-04-14 13:31:16
...

问题信息详细:

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)
tomcat 问题: "The APR based Apache Tomcat Native library which allows optimal perf
            
    
    博客分类: 项目错误分析 tomcatjavaAPR 

 

(2)

tomcat 问题: "The APR based Apache Tomcat Native library which allows optimal perf
            
    
    博客分类: 项目错误分析 tomcatjavaAPR 

 

(3)

tomcat 问题: "The APR based Apache Tomcat Native library which allows optimal perf
            
    
    博客分类: 项目错误分析 tomcatjavaAPR 

 

(4)

tomcat 问题: "The APR based Apache Tomcat Native library which allows optimal perf
            
    
    博客分类: 项目错误分析 tomcatjavaAPR 

 

(5)
tomcat 问题: "The APR based Apache Tomcat Native library which allows optimal perf
            
    
    博客分类: 项目错误分析 tomcatjavaAPR 

 

解决后的运行结果为:

org.apache.catalina.core.AprLifecycleListener init

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

  • tomcat 问题: "The APR based Apache Tomcat Native library which allows optimal perf
            
    
    博客分类: 项目错误分析 tomcatjavaAPR 
  • 大小: 36.1 KB
  • tomcat 问题: "The APR based Apache Tomcat Native library which allows optimal perf
            
    
    博客分类: 项目错误分析 tomcatjavaAPR 
  • 大小: 4 KB
  • tomcat 问题: "The APR based Apache Tomcat Native library which allows optimal perf
            
    
    博客分类: 项目错误分析 tomcatjavaAPR 
  • 大小: 18.5 KB
  • tomcat 问题: "The APR based Apache Tomcat Native library which allows optimal perf
            
    
    博客分类: 项目错误分析 tomcatjavaAPR 
  • 大小: 12.4 KB
  • tomcat 问题: "The APR based Apache Tomcat Native library which allows optimal perf
            
    
    博客分类: 项目错误分析 tomcatjavaAPR 
  • 大小: 19.2 KB
相关标签: tomcat java APR