`

Tomcat Native library was not found

    博客分类:
  • J2EE
阅读更多
The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: 
/usr/local/jdk/jdk1.5.0_15/jre/lib/i386/client:
/usr/local/jdk/jdk1.5.0_15/jre/lib/i386:
/usr/local/jdk/jdk1.5.0_15/jre/../lib/i386

解决这个问题的方法
方法一
1  在网上下一个tcnative-1.dll文件
   下载   http://tomcat.heanet.ie/native/1.1.2/binaries/win32/tcnative-1.dll 
  
2  然后复制到C:\windows\system32下面或者放在tomcat\bin里 
  
3  重起tomcat。

 
方法二

Tomcat启动的时候出现下面这样的提示:

2006-1-26 19:44:11 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance in production 
environments was not found on the java.library.path: D:\Java\jdk1.5.0_05\bin;
.;C:\WINDOWS\system32;C:\WINDOWS;d:\ruby\bin;.;..;D:\Java\jrockit-R26.0.0-jdk


这是建议使用apache的apr。
详情见 http://tomcat.apache.org/tomcat-5.5-doc/apr.html

问题搜索页面:http://www.google.com/search?hl=zh-CN&newwindow=1&q=The+Apache+Tomcat+Native+library+which+allows+optimal+performance&btnG=%E6%90%9C%E7%B4%A2&lr=


分享到:
评论
3 楼 keren 2012-04-10  
是linux环境,要dll干嘛呢?
2 楼 javajiao 2008-12-16  
有帮助即好.
1 楼 paudal 2008-12-09  
非常感谢你的解决方案
不过MS方法二对我没有帮助,我采用方法已即可

相关推荐

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

    怎么重起都不行,后来查看logs中catalina.out 日志发现如下错误 INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /...

    was not found on the java.library.path

    标题 "was not found on the java.library.path" 是一个在Java编程中常见的错误提示,它意味着系统在尝试加载本地库(native library)时未能找到指定的库文件。这通常发生在Java程序试图使用Java Native Interface ...

    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

    ecplise中启动Tomcat错误.not found on the java.library.path

    在使用Eclipse集成开发环境(IDE)启动Apache Tomcat服务器时,可能会遇到“not found on the java.library.path”这样的错误。这个错误通常涉及到Java的动态链接库(JNI)加载问题,与系统路径设置有关。本文将深入...

    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" 指的是在启动Apache Tomcat时遇到的一个错误,...

    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-native.tar.gz-------tomcat会报的错误

    e in production environments was not found on the java.library.path: D:\Tomcat 6 .0\bin;.;C:\WINNT\Sun\Java\bin;C:\WINNT\system32;C:\WINNT;c:\j2sdk1.4.2_05\bin;D :\Oracle\Ora81\bin;C:\Program Files\...

    有关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-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里面去 ,...

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

    tcnative-1.dll

    The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: An incompatible version 1.1.1 of the Apache Tomcat Native library ...

    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启动时如下异常: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各个版本整合

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

    解决eclpise中启动tomcat6出现红色警告的问题

    信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\study tools\Java\jdk1.5.0_06\bin;.;C:\WINDOWS\...

    tcnative-1.dll 1.1.24(win32)

    解决问题:在启动Tomcat 7.0时发现第一...The Apache Tomcat Native library which allows optimal performance in production environments was not found 。将tcnative-1.dll文件放入tomcat/bin目录中,即可解决问题

Global site tag (gtag.js) - Google Analytics