tcnative使用说明---tomcat-7必须要1.1.24版本

别妄想泡我
648次浏览
2020年07月30日 16:49
最佳经验
本文由作者推荐

乌龟的英文-影子内阁

The Apache Tomcat Native library which allows optimal performance in production environments was not found on the
今天 ,我在Eclipse中启动Tomcat6.0时,发生如下异常:
The Apache Tomcat Native library which allows optimal performance in production environments was not found on the :.....
解决如下:
在/native/下载dll文件:(现在版本是1.1.14)
把它扔到jdk的bin目录下,即可。


这是个警告而已。
下载 /native/1.1.2/binaries/win32/
然后复制到C:windowssystem32下面。
重起tomcat。



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

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

下载 /native/1.1.9/binaries/win32/

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

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


///我的计算机环境报错消息如下:
九月 29, 2013 3:11:09 上午 ecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the : C:Program FilesJavajdk1.7.0_40bin;C:WINDOWSSunJavabin;C:WINDOWSsystem32;C:WINDOWS;C:Python33;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesMySQLMySQL Server 5.5bin;C:Program FilesMySQLMySQL Utilities;C:Pr
ogram FilesMicrosoft Visual StudioCommonToolsWinNT;C:Program FilesMicrosoft Visual StudioCommonMSDev98Bin;C:Program FilesMicrosoft Visual StudioCommonTools;C:Program FilesMicrosoft Visual StudioVC98bin;D:hrmsoptapache-ant-1.9.2bin;.
九月 29, 2013 3:11:10 上午 pertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '5' did not find a matching property.
九月 29, 2013 3:11:10 上午 ctProtocol init
信息: Initializing ProtocolHandler ["http-bio-80"]
九月 29, 2013 3:11:10 上午 ctProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
九月 29, 2013 3:11:10 上午 na load
信息: Initialization processed in 462 ms
九月 29, 2013 3:11:10 上午 rdService startInternal
信息: Starting service Catalina
九月 29, 2013 3:11:10 上午 rdEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.42
九月 29, 2013 3:11:11 上午 ctProtocol start
信息: Starting ProtocolHandler ["http-bio-80"]
九月 29, 2013 3:11:11 上午 ctProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]

月 29, 2013 3:11:11 上午 na start
信息: Server startup in 841 ms
ResultSet[29524600] closed.
Statement[3222039] closed.
Connection[0] closed.
===================================================
Statement[10642113] closed.
Connection[0] closed.
===================================================
ResultSet[715004] closed.
Statement[17313306] closed.
Connection[0] closed.
===================================================

delighting-闻一知二


注脚意思-酽茶


继往开来的意思-不屈的意思


走笔顺-围巾的拼音


枫叶是什么颜色-皈怎么读


共和政体-燕拼音


复句类型及例子-徇齐


到达的英语-人外