写此文的目的在于,如果遇到类似的问题可以借鉴此文,迅速的解决问题,文中防火墙屏蔽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" 是一个在Java编程中常见的错误提示,它意味着系统在尝试加载本地库(native library)时未能找到指定的库文件。这通常发生在Java程序试图使用Java Native Interface ...
在使用Eclipse集成开发环境(IDE)启动Apache Tomcat服务器时,可能会遇到“not found on the java.library.path”这样的错误。这个错误通常涉及到Java的动态链接库(JNI)加载问题,与系统路径设置有关。本文将深入...
标题中的问题 "The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path" 指的是在启动Apache Tomcat时遇到的一个错误,...
怎么重起都不行,后来查看logs中catalina.out 日志发现如下错误 INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /...
信息: 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的时候,报错如下:解决tomcat启动时如下异常:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path ...
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启动: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
解决tomcat启动时如下异常:The APR based Apache Tomcat Native library which allows optimal performance in production 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 CProgram FilesJavajdk1.6.0_04jrebin;CProgram FilesTomcat ...
标题 "tomcat 启动报APR based Apache Tomcat Native library not found" 指出的问题是关于Apache Tomcat服务器在启动时找不到基于APR(Apache Portable Runtime)的本机库。这通常涉及到Tomcat使用APR库来提高性能...
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 ...
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里面去 ,...
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...
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” ...
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\...