JavaLife
天之道,利而不害;圣人之道,为而不争;信言不美,美言不信;善者不辩,辩者不善;知者不博,博者不知!
posts - 8,comments - 15,trackbacks - 0

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: D:\Java\jdk1.5.0_05\bin;.;C:\WINDOWS\system32;C:\WINDOWS;d:\ruby\bin;.;..;D:\Java\jrockit-R26.0.0-jdk

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

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

下载 http://tomcat.heanet.ie/native/1.1.1/binaries/win32/tcnative-1.dll

将这个文件复制到C:\WINDOWS\system32\下面

然后重新启动tomcat,就会发现tomcat 的控制台信息为:
2006-1-26 19:48:42 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-9080

详情见 http://tomcat.apache.org/tomcat-5.5-doc/apr.html

http://www.google.com/search?hl=zh-CN&newwindow=1&q=The+Apache+Tomcat+Native+library+which+allows+optimal+performance&btnG=%E6%90%9C%E7%B4%A2&lr=


posted on 2006-03-06 15:38 JavaLife 阅读(1489) 评论(4)  编辑  收藏 所属分类: EclipseTomcat

FeedBack:
# re: tomcat 5.5 的The Apache Tomcat Native library which allows optimal performance 的解决
2006-03-25 12:30 | hu
谢谢!!  回复  更多评论
  
# re: tomcat 5.5 的The Apache Tomcat Native library which allows optimal performance 的解决
2006-10-14 22:23 | ma
谢了。  回复  更多评论
  
# re: tomcat 5.5 的The Apache Tomcat Native library which allows optimal performance 的解决 [未登录]
2007-12-13 15:50 | paul
Http11AprProtocol 有什么用?
  回复  更多评论
  
# re: tomcat 5.5 的The Apache Tomcat Native library which allows optimal performance 的解决 [未登录]

只有注册用户登录后才能发表评论。


网站导航: