`

转:Tomcat 启动报错The APR based Apache Tomcat Native l...

 
阅读更多
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运行。



这里给大家推荐一篇我个人认为不错的

分享到:
评论

相关推荐

    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库来提高性能...

    The APR based Apache Tomcat Native library which allows optimal performance in p

    标题中的"The APR based Apache Tomcat Native library"是指Apache Portable Runtime(APR)库的一个组件,即Apache Tomcat Native库。这个库是专门为Apache Tomcat设计的,目的是为了提高其在处理网络I/O、系统调用...

    APR based Apache Tomcat Native library 1.1.14.

    综上所述,"APR based Apache Tomcat Native library 1.1.14"对于优化Apache Tomcat的性能、安全性和兼容性具有重要意义。开发者和系统管理员应当了解并掌握这些知识点,以便在实际环境中充分利用这个库的优势。

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

    启动tomcat出错The Apache Tomcat Native library which allows optimal performance in production environments was not found

    TOMCAT昨天突然自己宕掉服务了,怎么重起都不行,后来查看logs中catalina.out 日志发现如下错误 INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not ...

    java源码:Tomcat 安装apr 支持 Tomcat Native.zip

    在Tomcat日志中,会有类似“Using APR based Apache Tomcat Native library”这样的信息。 通过启用Apr和Tomcat Native,你可以享受到以下优势: - **更高的性能**:由于可以直接调用操作系统API,Tomcat的网络I/O...

    tomcat-native-1.2.14-win64位-bin.zip

    解决tomcat 启动 An incompatible version [1.2.14] of the APR based Apache Tomcat Native library 错误,64BIN使用

    tcnative-1.dll 1.2.14 32/64 位

    tcnative-1.dll 1.2.14 tomcat 启动报错The APR based Apache Tomcat Native library which allows optimal performance in production 问题的解决需要这个

    tcnative-1.dll 1.2.16下载 1.2.14可用

    An incompatible version [1.1.33] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14] 将文件放在:C:\Windows\System32 tcnative-1.dll 1.2.16下载 1.2.14...

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

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

    tcnative-1.dll 1.2.18 32位64 位

    tcnative-1.dll 1.2.18 tomcat 启动报错 The APR based Apache Tomcat Native library which allows optimal performance in production 问题的解决需要这个,注意自己需要什么版本,之前下了1.2.14 显示版本不对:...

    tomcat-native.tar.gz-------tomcat会报的错误

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

    tcnative-1.dll

    严重: 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即可

    基于Java的Tomcat 安装apr 支持 Tomcat Native.zip

    启动Tomcat后,查看日志文件,如`catalina.out`,应能看到类似“Using APR based OpenSSL Engine”这样的信息,这意味着APR已经成功加载。 通过以上步骤,你就为基于Java的Tomcat安装了APR支持,并启用了Tomcat ...

    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

    Apache/Tomcat/Nginx的区别

    ### Apache/Tomcat/Nginx 的区别详解 #### Apache HTTP Server Apache HTTP Server 是一个开源的 Web 服务器软件,能够支持多种操作系统平台,包括但不限于 Unix、Linux、Windows 等。它是由 Apache 软件基金会维护...

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

    解决eclpise中启动tomcat6出现红色警告的问题

    信息: 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各个版本整合

    Tomcat启动: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path

Global site tag (gtag.js) - Google Analytics