您的位置:首页 > 运维架构 > Tomcat

Tomcat 5.5启动问题--Apache Tomcat Native library which allows optimal performance

2010-04-10 13:59 357 查看
今天下载Windows安装版的tomcat5.5,安装完以后启动时候出现:

TheApacheTomcatNativelibrarywhichallowsoptimalperformanceinproductionenvironmentswasnotfoundonthejava.library.path:......

意思是说在产品环境下可以优化工作性能的Tomcat的本地包没有找到。

Google了一下,原来Tomcat从5.5版本后增加了APR技术(ApachePortableRuntime),这是一个用C语言写成文件包,目的在于提高Tomcat的服务性能,从而使得Tomcat将不仅仅担任一个容器的功能,而是要成为一个一般的web服务器(generalpurposewebserver)。所以按照上面的提示,下载了tcnative-1.dll文件,放入上面提示所列出的java.library.path中的任意一个里面,结果又出现下面的错误:

严重:Anincompatibleversion1.1.1oftheApacheTomcatNativelibraryisinstalled,whileTomcatrequiresversion1.1.3

意思是说刚才下的版本过低,需要下载一个更高高版本的。

具体下载地址:tomcat.heanet.ie/native/

里面列出了1.1.0-1.1.9所有版本的链接地址!随便下载一个高于1.1.3版本的替换掉刚才文件就可以,既然有高版本的,当然下最新的喽~~

我下载的是1.1.9替换掉以后再次启动tomcat会出现:

org.apache.coyote.http11.Http11AprProtocolinit

这样就说明我们刚才成功了~~庆祝一下!

顺便附上各个版本tcnative-1.dll文件的下载地址,省的麻烦~~---->

1.1.9/1-Apr-200720:45-

tomcat.heanet.ie/native/1.1.9/binaries/win32/tcnative-1.dll


1.1.8/14-Dec-200609:19-

tomcat.heanet.ie/native/1.1.8/binaries/win32/tcnative-1.dll


1.1.7/13-Nov-200612:18-

tomcat.heanet.ie/native/1.1.7/binaries/win32/tcnative-1.dll


1.1.6/17-Oct-200608:22-

tomcat.heanet.ie/native/1.1.6/binaries/win32/tcnative-1.dll


1.1.4/07-Sep-200609:11-

tomcat.heanet.ie/native/1.1.4/binaries/win32/tcnative-1.dll


1.1.3/14-Apr-200609:36-

tomcat.heanet.ie/native/1.1.3/binaries/win32/tcnative-1.dll


1.1.2/09-Feb-200609:57-

tomcat.heanet.ie/native/1.1.2/binaries/win32/tcnative-1.dll


1.1.14/11-Jul-200816:35-

tomcat.heanet.ie/native/1.1.14/binaries/win32/tcnative-1.dll


1.1.12/14-Jan-200808:01-

tomcat.heanet.ie/native/1.1.12/binaries/win32/tcnative-1.dll


1.1.10/02-Apr-200707:18-

tomcat.heanet.ie/native/1.1.10/binaries/win32/tcnative-1.dll


1.1.1/01-Dec-200512:54-

tomcat.heanet.ie/native/1.1.1/binaries/win32/tcnative-1.dll



                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐