APR(Apache Portable Runtime)的安装
来源:互联网 发布:有声书软件 编辑:程序博客网 时间:2024/06/10 08:47
APR(Apache Portable Runtime)
==============
(1)apr安装
tar xvf apr-1.2.8.tar
cd apr-1.2.8
./configure
make & make install
=============
(2)apr connector安装
tar -xzvf <tomcat_dir>/bin/tomcat-native.tar.gz
cd tomcat-native-1.1.6-src/jni/native
mkdir /usr/local/apr-connector
./configure --with-apr=/usr/local/apache-test/bin/apr-1-config --prefix=/usr/local/apr-connector
make & make install
=============
(3)tomcat使用apr
load libtcnative和libapr库
ln -s /usr/local/apr/lib/libapr-1.so /usr/local/lib/libapr-1.so
ln -s /usr/local/apr-connector/lib/libtcnative-1.so /usr/local/lib/libtcnative-1.so
在startup.sh中加入
export LD_LIBRARY_PATH = /usr/local/lib
否则报“找不到相应的库”
The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/tomcat/apr-connector/lib:/usr/local/lib
可选:(不需配置,如果有apr支持,会自动用apr)
在Connector中加入
protocol="org.apache.coyote.http11.Http11AprProtocol"
- APR(Apache Portable Runtime)的安装
- apr -- Apache Portable Runtime
- Apache Portable Runtime (APR) project
- Centos下Tomcat 安装 apr (Apache Portable Runtime)
- tomcat 安装 apr (Apache Portable Runtime), tomcat-native.
- tomcat 安装 apr (Apache Portable Runtime), tomcat-native.
- tomcat 安装 apr (Apache Portable Runtime), tomcat-native.
- 使用apache portable runtime 编译程序 apr
- SVN安装问题The Apache Portable Runtime (APR) library cannot be found
- 在Windows上将Apache Portable Runtime (APR)编译为DLL
- tomcat 性能优化之APR(Apache Portable Runtime)
- Apache Portable Runtime (APR) based Native library for Tomcat
- 关于Tomcat安装Apache Portable Runtime Utility Library 的问题
- 在Linux上安装Apache Portable Runtime
- apache portable runtime tutorial
- Apache Portable Runtime部署
- [转载] 在Windows上将Apache Portable Runtime (APR)编译为DLL
- Apache Portable Runtime and Tomcat
- 你的大脑里也有新浪和谷歌--人脑中的互联网研究方法
- JNDI概述
- flash游戏引擎整理
- [mark]DoctorInterview.Com
- 人生的旅途
- APR(Apache Portable Runtime)的安装
- __attribute__ ((packed)) 的作用(转载)
- jboss+jboss seam介绍
- oracle分页
- 2010-08-15
- 程序员要避免的五种程序注释方式
- 不小心我把DataRow理解错了
- 回归
- ADA开发环境的建立