`

environments was not found on the java.library.path: E:\Program Files (x86)\Java

 
阅读更多

启动的时候出现的这个信息,不是错误,程序也可以正常的运行,刚开是我没注意,没有测试就一味的以为是环境变量配置错误,然后重复的去配置环境变量,结果可想而知。
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jdk1.7.0_17\bin;D:\apache-tomcat-6.0.10\bin

下载 http://tomcat.heanet.ie/native/1.1.1/binaries/win32/tcnative-1.dll将这个文件复制到tomcat的bin目录下面。不管用的话可以放到jdk的bin下面。我也不知道这是干嘛用的,需要探讨啊。。。

 

 

 

 

org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance in produ
ction environments was not found on the java.library.path: D:\mapinfo\jre_1.5.0\
bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\S
ystem32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN
2011-3-25 23:11:49 org.apache.coyote.http11.Http11BaseProtocol init
的问题,
实际这是建议使用apache的apr。
如果想使用apr的话, 实际操作很简单,
下载 http://tomcat.heanet.ie/native/1.1.1/binaries/win32/tcnative-1.dll
将这个文件复制到C:\WINDOWS\system32\下面
然后重新启动tomcat,就会发现tomcat 的控制台信息为:
Using CATALINA_BASE: D:/mapinfo/MapXtreme-4.8.0/apache-tomcat-5.5
Using CATALINA_HOME: D:/mapinfo/MapXtreme-4.8.0/apache-tomcat-5.5
Using CATALINA_TMPDIR: D:/mapinfo/MapXtreme-4.8.0/apache-tomcat-5.5\temp
Using JRE_HOME: D:\mapinfo\jre_1.5.0
2011-3-25 23:11:49 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
需要注意的是:在下载给定的文件的时候一定要根据自己的TomCat的版本来选择适当的.dll文件
目前文件的版本从1.1.1到1.1.8都有,如果想下载适合自己的那个版本,只需要将上面网址中的1.1.1改成自己需要的 就Ok了 如果不知道自己的需要什么版本的 那么建议下载一个最低的版本就是1.1.1的 按提示的将其放到windows\system32下面后 重新启动TomCat ,如果你的不需要这个版本,系统会提示你需要下载什么版本的:
Using CATALINA_BASE: D:/mapinfo/MapXtreme-4.8.0/apache-tomcat-5.5
Using CATALINA_HOME: D:/mapinfo/MapXtreme-4.8.0/apache-tomcat-5.5
Using CATALINA_TMPDIR: D:/mapinfo/MapXtreme-4.8.0/apache-tomcat-5.5\temp
Using JRE_HOME: D:\mapinfo\jre_1.5.0
2011-3-25 23:11:49 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
严重: An incompatible version 1.1.1 of the Apache Tomcat Native library is insta
lled, while Tomcat requires version 1.1.3
然后下载你需要的版本就OK了!!
终于解决了另外的一个问题了。想要睡觉丫丫!!!!
新的问题再一次出现了,呜呼呼…………………………
没办法,继续吧!

分享到:
评论

相关推荐

    environments was not found on the java.library.path: E:\\Program Files (x86)\\Java

    标题 "environments was not found on the java.library.path" 是一个典型的Java错误信息,它涉及到Java运行时环境中的库路径设置问题。这个错误通常出现在尝试加载本地系统库(.dll文件)时,而这些库没有在`java....

    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

    The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.6.0_01\bin;.;C:\WINDOWS\Sun\Java\bin;C:\...

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

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

    struts-2.3.8+spring-3.2.1+mybatis-3.2.2架构

    INFO: 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\jre7\bin;C:\Windows\Sun\Java\...

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

    struts2驱动包

    信息: 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_10\bin;C:\Program ...

Global site tag (gtag.js) - Google Analytics