转:Tomcat 启动报错The APR based Apache Tomcat Native l...
来源:互联网 发布:决战武林骑兵进阶数据 编辑:程序博客网 时间:2024/06/06 12:44
启动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运行。
这里给大家推荐一篇我个人认为不错的
Tomcat配置的文章 http://snowolf.iteye.com/blog/145770
原文地址:http://my.oschina.net/JsonJun/blog/57560
- 转:Tomcat 启动报错The APR based Apache Tomcat Native l...
- Tomcat 启动报错The APR based Apache Tomcat Native l...
- Tomcat 启动报错The APR based Apache Tomcat Native l...
- tomcat 启动报错 the APR based Apache Tomcat Native library版本错误
- Tomcat 启动,错误:The APR based Apache Tomcat Native library
- Tomcat启动报The APR based Apache Tomcat Native library ...解决办法
- The APR based Apache Tomcat Native library which allows optimal performance in produc,Tomcat启动报错解决方法
- Tomcat 启动报错The APR based Apache Tomcat Native library which allows optimal performance in productio
- 启动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 environ
- tomat上启动报The APR based Apache Tomcat Native library which allows ...
- Tomcat 报错的解决方法:The APR based Apache Tomcat Native library which allows optimal
- Tomcat 起动报错The APR based Apache Tomcat Native library which.
- Tomcat 报错的解决方法:The APR based Apache Tomcat Native library which allows optimal
- The APR based Apache Tomcat Native library
- The APR based Apache Tomcat Native library
- The APR based Apache Tomcat Native library
- <TOMCAT>The APR based Apache Tomcat Native library的解决办法
- VO , PO , BO , QO, DAO ,POJO,
- 响应式的嵌入内容和图片
- 复习笔记_1。
- 关于STM32库中 __IO 修饰符(volatile修饰符)
- 多线程实现内部类的两种方式
- 转:Tomcat 启动报错The APR based Apache Tomcat Native l...
- web服务交互中HTTP数据内容GZIP,ZLIB格式压缩与解压缩封装(共享)
- 定制new和delete更改内存管理方案
- R学习-方差分析
- [Android] Volley源码分析(五)答疑
- 单向链表(六) 工程源码
- Ubuntu中Apache修改DocumentRoot(修改网站根目录)
- 含参main函数浅析
- JDK的概念、组成及JDK常用包