一
apache默认已经带了APR包位置再
/httpd-2.2.11/srclib/apr
# /httpd-2.2.11/srclib/apr/configure
#make
#make install
二 进到tomcat/bin 目录下
# tar zxvf tomcat-native.tar.gz
# cd tomcat-native-1.1.14-src/jni/native
# ./configure --wirh-apr=/usr/local/apr
# make
# make install
三
export CATALINA_OPTS=-Djava.library.path=/usr/local/apr/lib
四 重启tomcat
五 查看日志
ÐÅÏ¢: Stopping Coyote HTTP/1.1 on http-8080
2009-2-4 10:37:25 org.apache.catalina.core.AprLifecycleListener init
ÐÅÏ¢: Loaded APR based Apache Tomcat Native library 1.1.14.
2009-2-4 10:37:25 org.apache.catalina.core.AprLifecycleListener init
ÐÅÏ¢: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2009-2-4 10:37:25 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
ÐÅÏ¢: Failed to initialize the SSLEngine.
2009-2-4 10:37:25 org.apache.coyote.http11.Http11AprProtocol init
ÐÅÏ¢: Initializing Coyote HTTP/1.1 on http-8080
2009-2-4 10:37:25 org.apache.coyote.ajp.AjpAprProtocol init
阅读(1722) | 评论(0) | 转发(0) |