孙海龙的博客
记录笔记
tomcat推荐使用apache的apr(Apache portable Run-time libraries,Apache可移植运行库).
2014-07-04 17:15:27   阅读671次

问题信息详细:

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_45\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.6.0_45\jre\bin;D:\app\User\product\11.2.0\dbhome_1\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter\Driver;;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Bluetooth Software\syswow64;;C:\Program Files\Java\jdk1.6.0_45\\bin;C:\Program Files (x86)\CVSNT\;C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\;.

问题出现的原因:

tomcat推荐使用apache的apr(Apache portable Run-time libraries,Apache可移植运行库).

 

解决方法:

下载地址:http://archive.apache.org/dist/tomcat/tomcat-connectors/native

 

通过上述链接下载tcnative-1.dll文件, 如图, 你可以自己选择最新的版本,然后将下载下来的文件放到C:\WINDOWS\system32中即可, 重启tomcat就可以。

 

(1)

 

(2)

 

(3)

 

(4)

 

(5)

 

解决后的运行结果为:

org.apache.catalina.core.AprLifecycleListener init

信息: Loaded APR based Apache Tomcat Native library 1.1.23.




-----------------------------------------------------
转载请注明来源此处
原地址:#

-----网友评论----
暂无评论
-----发表评论----
微网聚博客乐园 ©2014 blog.mn886.net 鲁ICP备14012923号   网站导航