myeclipse8.5配置tomcat6.0,启动后报错

不好意思还问这个问题,因为在网上找了好久,也试了好久,一直没成功,所以才发帖,希望各位帮我看看

环境标量配置了,没什么问题,

错误如下

详细错误如下

 

2012-10-14 22:45:22 org.apache.catalina.core.AprLifecycleListener init

信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_10\bin;C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin

2012-10-14 22:45:27 org.apache.coyote.http11.Http11Protocol init

信息: Initializing Coyote HTTP/1.1 on http-8080

2012-10-14 22:45:27 org.apache.catalina.startup.Catalina load

信息: Initialization processed in 8542 ms

2012-10-14 22:45:28 org.apache.catalina.core.StandardService start

信息: Starting service Catalina

2012-10-14 22:45:28 org.apache.catalina.core.StandardEngine start

信息: Starting Servlet Engine: Apache Tomcat/6.0.35

2012-10-14 22:45:28 org.apache.catalina.startup.HostConfig deployDescriptor

信息: Deploying configuration descriptor manager.xml

2012-10-14 22:45:30 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deploying web application directory docs

2012-10-14 22:45:30 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deploying web application directory ROOT

2012-10-14 22:45:30 org.apache.coyote.http11.Http11Protocol start

信息: Starting Coyote HTTP/1.1 on http-8080

2012-10-14 22:45:31 org.apache.jk.common.ChannelSocket init

信息: JK: ajp13 listening on /0.0.0.0:8009

2012-10-14 22:45:31 org.apache.jk.server.JkMain start

信息: Jk running ID=0 time=0/140  config=null

2012-10-14 22:45:31 org.apache.catalina.startup.Catalina start

信息: Server startup in 3228 ms


 

 

4个回答

[code="java"]The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_10\bin;C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin

2012-10-14 22:45:27 org.apache.coyote.http11.Http11Protocol init[/code]
你是说上面打印出来的信息?这不是错哦,是tomcat调用本地库以提高运行效率的特性。tomcat没有找到相应的本地库,提示一下而已。

下载tcnative-1.dll放在Tomcat 6.0\bin目录下即可解决

henghanan
henghanan 你要下载1.1.17版本的,以下连接有介绍Apache Portable Runtime (APR) based Native library for Tomcat http://tomcat.apache.org/tomcat-6.0-doc/apr.html
7 年多之前 回复
henghanan
henghanan 版本不对了
7 年多之前 回复
benbendehuozhe
卖萌吐槽 错误如下 2012-10-14 23:41:55 org.apache.catalina.core.AprLifecycleListener init 严重: An incompatible version 1.1.7 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.17 2012-10-14 23:41:55 org.apache.coyote.http11.Http11Protocol init 信息: Initializing Coyote HTTP/1.1 on http-8080 2012-10-14 23:41:55 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 688 ms 2012-10-14 23:41:55 org.apache.catalina.core.StandardService start 信息: Starting service Catalina 2012-10-14 23:41:55 org.apache.catalina.core.StandardEngine start 信息: Starting Servlet Engine: Apache Tomcat/6.0.35 2012-10-14 23:41:55 org.apache.catalina.startup.HostConfig deployDescriptor 信息: Deploying configuration descriptor manager.xml 2012-10-14 23:41:56 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory docs 2012-10-14 23:41:56 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory ROOT 2012-10-14 23:41:56 org.apache.coyote.http11.Http11Protocol start 信息: Starting Coyote HTTP/1.1 on http-8080 2012-10-14 23:41:56 org.apache.jk.common.ChannelSocket init 信息: JK: ajp13 listening on /0.0.0.0:8009 2012-10-14 23:41:56 org.apache.jk.server.JkMain start 信息: Jk running ID=0 time=0/31 config=null 2012-10-14 23:41:56 org.apache.catalina.startup.Catalina start 信息: Server startup in 718 ms 我按照网上说的和错误提示下载1.1.7的tcnative-1.dll 为什么还是报错呢
7 年多之前 回复

没有错误啊 :oops:

:o ,木有错误啦,只是启动的info。

Tomcat requires version 1.1.17,你怎么下载1.1.7

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问