`

Tomcat7 启动报错 …… not found on the java.library.path

阅读更多
写此文的目的在于,如果遇到类似的问题可以借鉴此文,迅速的解决问题,文中防火墙屏蔽tomcat端口导致报The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path……错误信息的具体原因还未查到,希望大家发表自己的看法。
正文:
下载一个tcnative-1.dll文件,放在C:WINDOWSsystem32里,再重新启动服务器,看服务器是否能正常启动。如果服务器启动时,没有报前面的错,而是报出另外的错误,如以下信息:
严重: An incompatible version 1.1.1 of the Apache Tomcat Native library is installed, while Tomcat requires version 1.1.3
2009-12-15 17:39:33 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: An older version 1.1.1 of the Apache Tomcat Native library is installed, while Tomcat recommends version greater than 1.1.4
这说明tcnative-1.dll文件版本太低,需下载一个高于1.1.4版本的文件。
你可以下载http://tomcat.heanet.ie/native/1.1.8/binaries/ 。
至于文件放的位置有两种选择,
(1)、把文件放入C:WINDOWSsystem32里。或者是tomcat的bin下。
(2)、把它放在环境变量path中所指向的jdk的bin的目录下,例如,放在D: WORK_HOME/jdk1.5.0_09/bin目录下
分享到:
评论

相关推荐

    was not found on the java.library.path

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

    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出错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: /...

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

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

    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

    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

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

    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 报异常解决

    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(最新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.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...

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

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

Global site tag (gtag.js) - Google Analytics