Chinaunix首页 | 论坛 | 博客
  • 博客访问: 630512
  • 博文数量: 95
  • 博客积分: 2091
  • 博客等级: 大尉
  • 技术积分: 982
  • 用 户 组: 普通用户
  • 注册时间: 2007-09-05 19:34
文章分类

全部博文(95)

文章存档

2017年(1)

2016年(20)

2015年(10)

2014年(6)

2013年(4)

2012年(1)

2011年(9)

2010年(6)

2009年(20)

2008年(17)

2007年(1)

我的朋友

分类: LINUX

2009-02-04 11:26:41

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
阅读(1689) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~