`
leexhwhy
  • 浏览: 63157 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

安装tomcat native-library

阅读更多

安装tomcat native-library 
Apache Tomcat Native library 是干什么的呢?
   这是 Apache 为了提升 Tomcat 的性能搞的一套本地化 Socket, Thread, IO 组件也就是说它有高级 IO 功能, 操作系统级别的功能调用, 以及本地进程处理等等, 这些都能使 Tomcat 更像一个 Web Server(像Apache那样), 而不是只能用来解释JSP, 也就是说提升单独的 Tomcat 作为服务器的吞吐性能.

1.  安装 APR
1.       http://apr.apache.org下载apr-1.2.12.tar.gz
2.       tar –xvf apr-1.2.12.tar.gz
3.       ./configure --prefix=/tomcat/apr
4.       make
5.       make install
2.  安装APR-UTIL
1.         http://apr.apache.org下载apr-util-1.2.12.tar.gz
2.         tar –xvf apr-util-1.2.12.tar.gz
3.         ./configure --prefix=/tomcat/apr --with-apr=/tomcat/apr
4.         make
5.         make install
3.  安装tomcat native library
1.         tar zxvf tomcat-native.tar.gz
2.         cd /tomcat-native-1.1.10-src/jni/native
3.         ./configure --prefix=/tomcat/apr -- with-apr=/tomcat/apr –with-java-home=/usr/jdk
4.         make
5.         make install
4.  在/bin/catalina.sh
将JAVA_OPTS="$CATALINA_OPTS -Djava.library.path= tomcat/apr/lib"
加在# ----- Execute The Requested Command -----------------------------------------前面

 

分享到:
评论

相关推荐

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

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

    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启动失败或...

    tomcat-native-1.2.34

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

    启动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-native-1.2.21-openssl-1.0.2q

    This version of library is included in Apache Tomcat distributions. b) OCSP-enabled. This one has enabled (experimental) support for verification of client SSL certificates via OCSP protocol (45392)....

    tomcat-native-1.2.14.zip

    配置springboot环境时报错: ...An incompatible version [1.1.16] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14] 将文件放在:C:\Windows\System32

    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 based Apache Tomcat Native library not found

    标题 "tomcat 启动报APR based Apache Tomcat Native library not found" 指出的问题是关于Apache Tomcat服务器在启动时找不到基于APR(Apache Portable Runtime)的本机库。这通常涉及到Tomcat使用APR库来提高性能...

    tomcat-native-1.2.24-openssl-1.1.1g-win32-bin.zip

    1.错误Can't load IA 32-bit .dll on a AMD 64-bit platform解决方案 2.springboot启动报错java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path 3.tomcat-native-1.2.24-openssl-1.1.1g-win32-bin

    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、系统调用...

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

    Tomcat tcnative-1.dll文件x32和x64

    1. 下载对应版本的`tcnative-1.dll`库,通常包含在`tomcat-native`的发行版中,如`tomcat-native-tcnative-1-bin`压缩包。 2. 解压`tomcat-native-tcnative-1-bin`,找到对应的`tcnative-1.dll`文件。 3. 将`...

    APR based Apache Tomcat Native library 1.1.14.

    9. **安装和配置**:集成Apache Tomcat Native库需要正确配置环境变量和系统路径,以确保Tomcat能找到并使用这个库。 10. **版本升级**:从旧版本升级到1.1.14时,需要关注官方文档中的迁移指南,以确保平稳过渡,...

    tomcat5.5.20 native all library

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

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

    本文将详细讲解如何在Java源码环境中安装Tomcat,并配置Apr以启用Tomcat Native支持。 首先,理解Apr是什么至关重要。Apr是Apache HTTP服务器项目的子项目,提供了一个跨平台的C语言库,用于统一不同操作系统下的...

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

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

    该标题提及的是一个Java相关的实例源码,具体是关于如何在Tomcat服务器上安装并配置Apache Portable Runtime (APR) 模块,以支持Tomcat Native库。Tomcat Native库是一个可选组件,它允许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 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 安装apr 支持 Tomcat Native

    - 编辑`catalina.sh`或`catalina.bat`启动脚本,在`JAVA_OPTS`变量中添加对Tomcat Native库的引用,例如:`-Djava.library.path=/path/to/tomcat-native/lib`,这里`/path/to/tomcat-native/lib`是Tomcat Native库...

Global site tag (gtag.js) - Google Analytics