`
zhengcaihai529
  • 浏览: 47260 次
  • 性别: Icon_minigender_1
  • 来自: 福建
社区版块
存档分类
最新评论

tomcat 7.0.32 启动出现 Apache Tomcat Native library 版本异常

 
阅读更多

操作步骤:

1、下载tomcat 7.0.32 ,地址http://tomcat.apache.org/download-70.cgi

2、在eclipse中启动出现以下异常

===================

 

2012-11-14 13:24:28 org.apache.catalina.core.AprLifecycleListener init

严重: An incompatible version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24

2012-11-14 13:24:28 org.apache.catalina.core.AprLifecycleListener init

严重: An incompatible version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24

2012-11-14 13:24:28 org.apache.catalina.startup.SetAllPropertiesRule begin

警告: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'start-timeout' to '245' did not find a matching property.

2012-11-14 13:24:28 org.apache.catalina.core.AprLifecycleListener init

严重: An incompatible version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24

2012-11-14 13:24:28 org.apache.catalina.core.AprLifecycleListener init

严重: An incompatible version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24

2012-11-14 13:24:28 org.apache.catalina.core.AprLifecycleListener init

严重: An incompatible version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24

=====================


说明 Apache Tomcat Native library版本较旧了,下个新的版本1.1.24【tomcat-native-1.1.24-win32-bin.zip】,地址:http://tomcat.apache.org/download-native.cgi 


解压后把里面的文件【tcnative-1.dll】放到jdk 的bin目录下就可以了

 

启动日志如下:

 

========================

 

2012-11-14 13:31:24 org.apache.catalina.core.AprLifecycleListener init

信息: Loaded APR based Apache Tomcat Native library 1.1.24 using APR version 1.4.6.

2012-11-14 13:31:24 org.apache.catalina.core.AprLifecycleListener init

信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].

2012-11-14 13:31:24 org.apache.catalina.startup.SetAllPropertiesRule begin

警告: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'start-timeout' to '245' did not find a matching property.

2012-11-14 13:31:25 org.apache.catalina.core.AprLifecycleListener initializeSSL

信息: OpenSSL successfully initialized (OpenSSL 1.0.1c 10 May 2012)

2012-11-14 13:31:25 org.apache.coyote.AbstractProtocol init

=========================

 

分享到:
评论

相关推荐

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

    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"是这个库的一个特定版本,1.1.14是它的版本号。这个版本可能包含了对之前版本的改进、bug修复以及可能的新功能,旨在优化Tomcat在不同操作系统上的表现...

    tomcat-native-1.2.34

    Apache Tomcat Native library 是一个重要的组件,主要用于增强Apache Tomcat服务器的功能。这个库提供了与操作系统更紧密集成的能力,特别是对于处理SSL/TLS连接时,它能够显著提高性能。标题"tomcat-native-1.2.34...

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

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

    tomcat5.5.20 native all library

    标题中的"tomcat5.5.20 native all library"指的是Tomcat服务器的5.5.20版本的本机库(Native Library)集合。在Apache Tomcat中,本机库是一个关键组件,它提供了与操作系统更直接交互的能力,尤其是对于处理SSL...

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

    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-win32位-bin - .zip

    描述中提到的错误"An incompatible version [1.2.14] of the APR based Apache Tomcat Native library"通常发生在用户试图使用一个与当前Tomcat版本不兼容的Tomcat Native库时。这个问题可能会导致Tomcat启动失败或...

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

    2. **APR Native库缺失**:如果Java环境路径(`java.library.path`)中没有包含正确的Apache Tomcat Native库,那么Tomcat将无法利用该库来提高性能。 #### 解决方案 1. **禁用`source`属性** - 在Eclipse的Servers...

    ecplise中启动Tomcat错误.not found on the java.library.path

    在使用Eclipse集成开发环境(IDE)启动Apache Tomcat服务器时,可能会遇到“not found on the java.library.path”这样的错误。这个错误通常涉及到Java的动态链接库(JNI)加载问题,与系统路径设置有关。本文将深入...

    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 显示版本不对:...

    Apache Tomcat 7.0.90 发布,开源 Web 应用服务器

    Apache Tomcat 7.0.90 发布了...Update the packaged version of the Tomcat Native Library to 1.2.17 to pick up the latest Windows binaries built with APR 1.6.3 and OpenSSL 1.0.2o. 绿色版,免安装,放心使用

    基于Java的实例源码-Tomcat 安装apr 支持 Tomcat Native.zip

    该标题提及的是一个Java相关的实例源码,具体是关于如何在Tomcat服务器上安装并配置Apache Portable Runtime (APR) 模块,以支持Tomcat Native库。Tomcat Native库是一个可选组件,它允许Tomcat利用操作系统的一些...

    最新版windows apache-tomcat-9.0.65-windows-x64.zip

    3. **NIO.2和APR/Linux Native Library支持**:Tomcat 9支持Java NIO.2 API,这提供了更好的非阻塞I/O性能。同时,通过Apache Portable Runtime (APR)库,Tomcat可以在Linux等系统上利用操作系统级别的网络和线程...

    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

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

Global site tag (gtag.js) - Google Analytics