信息: The APR based Apache Tomcat Native library which allows optimal performance in production enviro

原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本人声明。否则将追究法律责任。
作者: 永恒の_☆ 地址: http://blog.csdn.net/chenghui0317/article/details/9004437
电脑中毒,重装java之后 运行web项目,打开tomcat出现如下错误:


2013-6-1 15:48:52 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: D:\Program Files\Java\jdk1.6.0_12\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:/Program Files/Java/jdk1.6.0_12/bin/../jre/bin/client;D:/Program Files/Java/jdk1.6.0_12/bin/../jre/bin;D:/Program Files/Java/jdk1.6.0_12/bin/../jre/lib/i386;C:\Program Files\NVIDIA Corporation\PhysX\Common;D:\Program Files\Java\jdk1.6.0_12\bin;D:\Program Files\Java\jdk1.6.0_12\jre\bin;d:\app\Administrator\product\11.1.0\db_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows7Master;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;D:\Program Files\SSH Secure Shell;D:\Program Files\SSH Communications Security\SSH Secure Shell;D:\Program Files\eclipse for private;
2013-6-1 15:48:52 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'reloabable' to 'true' did not find a matching property.
2013-6-1 15:48:52 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
2013-6-1 15:48:52 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8089"]
2013-6-1 15:48:52 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 611 ms
2013-6-1 15:48:52 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
2013-6-1 15:48:52 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.22
2013-6-1 15:48:55 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext

但是 单独通过startup.bat打开不会出错,但是如果用eclispse打开就悲剧了。

字面的意思是:Apache tomcat 本地库 在允许的最优生产的环境中不能被java发现。

解决方案:将tomcat/bin目录 下的 tcnative-1.dll 复制到 jdk/bin 目录下。

下载地址:http://download.csdn.net/detail/ch656409110/5867315



你可能感兴趣的:(信息: The APR based Apache Tomcat Native library which allows optimal performance in production enviro)