albert1017
转:Tomcat 启动报错The APR based Apache Tomcat Native l...
启动tomcat时 出现如下错误。
2012-5-14 9:50:53 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:\ProgramWork\Java\jdk1.6.0_31\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;.;C:\ProgramWork\Java\jdk1.6.0_31\bin:C:\ProgramWork\Java\jdk1.6.0_31\jre\bin;C:\Windows\system32;................ (x86)\IDM Computer Solutions\UltraCompare\;C:\ProgramWork\GWT_library\App Engine_Home\google_appengine\;.
2012-5-14 9:50:53 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8083
2012-5-14 9:50:53 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 427 ms
2012-5-14 9:50:54 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2012-5-14 9:50:54 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.35
2012-5-14 9:50:54 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8083
2012-5-14 9:50:54 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8029
2012-5-14 9:50:54 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/13 config=null
2012-5-14 9:50:54 org.apache.catalina.startup.Catalina start
信息: Server startup in 191 ms
网上找了一些:
出现这种情况是这表示没有找到APR
简要解决办法:去 http://tomcat.heanet.ie/native/ 下载编译好的tcnative-1.dll文件,目前最新为1.1.14,拷贝至jdk\bin下,再启动就可以成功加载APR了。
这不是我要说的重点。 我按这操作,但是还是一样的错误。
然后我找到 tomcat目录 通过 bat 目录启动, 结果启动正常,
我以为问题解决了,就又在Eclipse 启动 tomcat ,还是错误。。。
稍微思考下,就想通了。只要将
将tomcat/bin目录 下的 tcnative-1.dll 复制到 jdk/bin 目录下
OK 解决了。当然 我这前提是tomcat 能通过starupt.bat运行。
这里给大家推荐一篇我个人认为不错的
分享到:
相关推荐
NULL 博文链接:https://never-forget.iteye.com/blog/1827823
APR based Apache Tomcat Native library 1.1.14.
TOMCAT昨天突然自己宕掉服务了,怎么重起都不行,后来查看logs中catalina.out 日志发现如下错误 INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not ...
NULL 博文链接:https://mingming-0302.iteye.com/blog/2266394
解决tomcat 启动 An incompatible version [1.2.14] of the APR based Apache Tomcat Native library 错误,64BIN使用
tcnative-1.dll 1.2.18 tomcat 启动报错 The APR based Apache Tomcat Native library which allows optimal performance in production 问题的解决需要这个,注意自己需要什么版本,之前下了1.2.14 显示版本不对:...
信息: 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.2.14 tomcat 启动报错The APR based Apache Tomcat Native library which allows optimal performance in production 问题的解决需要这个
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 ...
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” ...
信息: The APR based Apache Tomcat Native library which allows optimal performanc e in production environments was not found on the java.library.path: D:\Tomcat 6 .0\bin;.;C:\WINNT\Sun\Java\bin;C:\...
严重: An incompatible version 1.1.14 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.17 该资源为1.1.22版本,之后放到,tomcat/lib或者system32即可
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
信息: 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 ...
详细讲解apache/tomcat和nginx的区别,可以充分掌握他们的应用场景
解决tomcat 启动 An incompatible version [1.2.14] of the APR based Apache Tomcat Native library 错误,32位BIN
Tomcat启动: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
idea springboot项目启动时Tomcat报错:An incompatible version [1.1.33] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14] 原因:安装了基于APR的Apache ...
解决tomcat启动时如下异常:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path