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 阅读(1503)
评论(4) 编辑 收藏 所属分类:
Eclipse 、
Tomcat