Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Application Server  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 tomcat 5.5 的Tomcat Native library which allows optimal performance 的解决办法
阿熊



发贴: 0
积分: 0
于 2006-04-08 23:29 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Tomcat启动的时候出现下面这样的提示:

2006-1-26 19:44:11 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:

实际这是建议使用apache的apr。

如果想使用apr的话, 实际操作很简单,

下载: http://tomcat.heanet.ie/native/1.1.2/binaries/linux/tomcat-native-i686-whatever-linux2.tar.gz

解开后
放到jdk安装目录下的/jre/lib/i386

重启一下Tomcat
查看日志
2006-1-26 23:36:16 org.apache.coyote.http11.Http11AprProtocol init
ÐÅÏ¢: Initializing Coyote HTTP/1.1 on http-8080
2006-1-26 23:36:16 org.apache.coyote.ajp.AjpAprProtocol init
ÐÅÏ¢: Initializing Coyote AJP/1.3 on ajp-8009
表示已经激活此功能了


why edited on 2006-04-10 11:35

作者 Re:tomcat 5 的解决办法 [Re:zua]
trumplet





发贴: 7
积分: 0
于 2006-04-09 09:14 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
这个apr是干什么用的?用了它有什么好处吗?


作者 tomcat 5.5 的Tomcat Native library which allows optimal performance 的解决办法 [Re:zua]
阿熊



发贴: 0
积分: 0
于 2006-04-09 13:32 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
提升性能


作者 Re:tomcat 5 的解决办法 [Re:trumplet]
bluepure

pureblue



发贴: 509
积分: 85
于 2006-04-09 21:24 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
提醒一下,使用了apr之后,如果使用了https,https的配置也需要作改变。需要用到openssl来进行证书文件的生成。如过没做改变的,那么原来的https端口将变成http。这是我的配置:

<!-- ssl for apr -->
<Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
       acceptCount="100" scheme="https" secure="true"
clientAuth="false"
SSLEngine="on"
SSLCertificateFile="..\conf\ca\server.crt"
SSLCertificateKeyFile="..\conf\ca\server.key" />


-------------------
上午回复帖子的时候居然提示subject_toolong错误:(



作者 Re:tomcat 5.5 的Tomcat Native library [Re:zua]
hawker



CJSDN高级会员


发贴: 222
积分: 50
于 2006-04-10 10:58 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
有没有相关的性能比较测试报告呀?


Java的艺术在于融合了以往的成熟的技术,既有继承,又有创新。

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923