换了新配置的电脑,
由原来的32bit 2G内存升级到 64bit 8G内存。。
一下子提高不小啊。哈哈
于是开始在新电脑配置起工作环境来。所有的软件都尽可能采用了 64bit的
当indigo Eclipse 启动tomcat时 出现如下错误。
2012-5-14 9:50:53 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:\ProgramWork\Java\jdk1.6.0_31\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;.;C:\ProgramWork\Java\jdk1.6.0_31\bin:C:\ProgramWork\Java\jdk1.6.0_31\jre\bin;C:\Windows\system32;................ (x86)\IDM Computer Solutions\UltraCompare\;C:\ProgramWork\GWT_library\App Engine_Home\google_appengine\;.
2012-5-14 9:50:53 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8083
2012-5-14 9:50:53 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 427 ms
2012-5-14 9:50:54 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2012-5-14 9:50:54 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.35
2012-5-14 9:50:54 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8083
2012-5-14 9:50:54 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8029
2012-5-14 9:50:54 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/13 config=null
2012-5-14 9:50:54 org.apache.catalina.startup.Catalina start
信息: Server startup in 191 ms
网上找了一些:
出现这种情况是这表示没有找到APR
简要解决办法:去 http://tomcat.heanet.ie/native/ 下载编译好的tcnative-1.dll文件,目前最新为1.1.14,拷贝至jdk\bin下,再启动就可以成功加载APR了。
这不是我要说的重点。 我按这操作,但是还是一样的错误。
然后我找到 tomcat目录 通过 bat 目录启动, 结果启动正常,
我以为问题解决了,就又在Eclipse 启动 tomcat ,还是错误。。。
稍微思考下,就想通了。只要将
将tomcat/bin目录 下的 tcnative-1.dll 复制到 jdk/bin 目录下
OK 解决了。当然 我这前提是tomcat 能通过starupt.bat运行。
这里给大家推荐一篇我个人认为不错的
Tomcat配置的文章 http://snowolf.iteye.com/blog/145770
分享到:
相关推荐
NULL 博文链接:https://never-forget.iteye.com/blog/1827823
TOMCAT昨天突然自己宕掉服务了,怎么重起都不行,后来查看logs中catalina.out 日志发现如下错误 INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not ...
NULL 博文链接:https://mingming-0302.iteye.com/blog/2266394
tcnative-1.dll 1.2.18 tomcat 启动报错 The APR based Apache Tomcat Native library which allows optimal performance in production 问题的解决需要这个,注意自己需要什么版本,之前下了1.2.14 显示版本不对:...
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path 2、第二个错误,错误详情: Exception in thread “main” ...
tcnative-1.dll 1.2.14 tomcat 启动报错The APR based Apache Tomcat Native library which allows optimal performance in production 问题的解决需要这个
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path CProgram FilesJavajdk1.6.0_04jrebin;CProgram FilesTomcat ...
The Apache Tomcat Native Liberay which allows optimal performance in production environments was not found on the java.library.path:E:\java\jdk1.5.0_05
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\study tools\Java\jdk1.5.0_06\bin;.;C:\WINDOWS\...
Tomcat启动: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
信息: The APR based Apache Tomcat Native library which allows optimal performanc e in production environments was not found on the java.library.path: D:\Tomcat 6 .0\bin;.;C:\WINNT\Sun\Java\bin;C:\...
详细讲解apache/tomcat和nginx的区别,可以充分掌握他们的应用场景
解决tomcat启动时如下异常:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
1.1.32和1.1.33的64位tcnative-1.dll
1.解决:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path... 2.用法:win+R 到C:\Windows\System32里面去 ,...
解决SpringBoot2.0启动日志中出现The APR based Apache Tomcat Native library which allows optimal performance
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path 问题的解决方法,需要的朋友可以参考下
解决The APR based Apache Tomcat Native library which allows optimal performance in production environm;解决tomcat启动时如下异常:在java.library.path中找不到基于APR的Apache Tomcat Native库,它可以在...
运行Tomcat的时候,报错如下:解决tomcat启动时如下异常:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path ...