The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found ......

feiy08 2009-01-11 08:41:16
启动myeclipse的tomcat6.0有如下提示:
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_04\jre\bin;C:\Program Files\Tomcat 6.0\bin
这个问题怎么解决??
我在网上搜过解决的方法是:
http://blog.sina.com.cn/s/blog_4d3a5b540100blvy.html中介绍,
说是tomcat推荐使用apache的apr
到http://tomcat.heanet.ie/native/1.1.10/binaries/win32/tcnative-1.dll下载tcnative-1.dll,把tcnative-1.dll放在C:\WINDOWS\system32可以解决这一个问题。我试过不行。
如今我也遇到这个问题,恳请各位指点,万分感谢!!十分火急!!!!
...全文
189679 130 打赏 收藏 转发到动态 举报
写回复
用AI写文章
130 条回复
切换为时间正序
请发表友善的回复…
发表回复
蜗牛丿不牛 2012-11-02
  • 打赏
  • 举报
回复
同样的问题,纠结ing...
huayouxianger 2012-10-31
  • 打赏
  • 举报
回复
急需各位高人的指教
huayouxianger 2012-10-31
  • 打赏
  • 举报
回复
我用的是myeclipse9.0 和tomcat6.0压缩版的,还是出现以上的问题,也把tcnative-1.dll 放在bin文件中了,还是没用,小妹请求各位的帮助
huayouxianger 2012-10-31
  • 打赏
  • 举报
回复
我的还是这样
2012-10-31 9:20:50 org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version 1.1.1 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.17

2012-10-31 9:20:54 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2012-10-31 9:20:54 org.apache.catalina.core.StandardContext start
严重: Context [/StrutsDemo] startup failed due to previous errors
2012-10-31 9:20:54 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/StrutsDemo] created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@3e584d]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1172f8f]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2012-10-31 9:20:54 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/StrutsDemo] created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1338d3d]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@17da690]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.[/color][/color]
[/color]
又来了吧 2012-10-17
  • 打赏
  • 举报
回复
[Quote=引用 10 楼 的回复:]
我用的是MyEclipse7.0 和tomcat 6.0 按前辈说的下载了tcnative-1.dll 文件,分别放在了Tomcat 6.0\bin 目录下 和 ../jdk/bin 下,但是重启后,提示需要的是An incompatible version 1.1.0 of the APR based Apache Tomcat Native library is installed, whil……
[/Quote]我也是这个问题、、、、
w726123808 2012-10-10
  • 打赏
  • 举报
回复
[Quote=引用 94 楼 的回复:]
http://archive.apache.org/dist/tomcat/tomcat-connectors/native/ 下载一个1.1.19的没出错了
[/Quote]

我试了 好使了
xisuchi_1987 2012-10-04
  • 打赏
  • 举报
回复
win7 + eclipse3.7 + tomcat7, 报如下错误:
[SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:evan-app' did not find a matching property.
岁寒松柏 2012-09-23
  • 打赏
  • 举报
回复
支持下
CapaLin 2012-09-06
  • 打赏
  • 举报
回复
遇到同样问题,已解决,多谢各位!
三十才立 2012-08-28
  • 打赏
  • 举报
回复
我使用的是tomcat6.0.30版本。也出现了这个问题。通过这个帖子我完成了修复。我没有重配环境变量,因为的确出现了提示APR版本较低的报错。
报错界面是红色的,才开始我也很不习惯,其实只要不在前面出现提示【严重】,就没问题。
至于修改方法,为了防止出现10L那种多次重复提示的效果,可以直接在http://download.csdn.net/detail/erichappyman2/4433905#comment连接下载所需版本的tcnative-1.dll。
本人因为版本较高,直接打了1.1.22,结果启动成功:
信息: Loaded APR based Apache Tomcat Native library 1.1.22.
2012-8-28 16:20:09 org.apache.catalina.core.AprLifecycleListener init
gqq1022 2012-08-16
  • 打赏
  • 举报
回复
我也遇到这种问题,搞死人呀
zyb588 2012-08-15
  • 打赏
  • 举报
回复
http://tomcat.heanet.ie/native/1.1.10/binaries/win32/tcnative-1.dll
薛定谔的洋葱 2012-08-15
  • 打赏
  • 举报
回复
the problem happened on my web project too ,waiting for big cow
luceas 2012-08-10
  • 打赏
  • 举报
回复
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:
lsw6740562 2012-08-03
  • 打赏
  • 举报
回复
2012-8-3 10:26:33 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_22\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:/Program Files/Java/jdk1.6.0_22/bin/../jre/bin/client;D:/Program Files/Java/jdk1.6.0_22/bin/../jre/bin;D:/Program Files/Java/jdk1.6.0_22/bin/../jre/lib/i386;d:\oracle\product\10.2.0\db_1\bin;D:\Program Files\Java\jdk1.6.0_22\bin
2012-8-3 10:26:34 org.apache.coyote.AbstractProtocolHandler init
信息: Initializing ProtocolHandler ["http-bio-8080"]
2012-8-3 10:26:34 org.apache.coyote.AbstractProtocolHandler init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
2012-8-3 10:26:34 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 564 ms
2012-8-3 10:26:34 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
2012-8-3 10:26:34 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.11
2012-8-3 10:26:34 org.apache.coyote.AbstractProtocolHandler start
信息: Starting ProtocolHandler ["http-bio-8080"]
2012-8-3 10:26:34 org.apache.coyote.AbstractProtocolHandler start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
2012-8-3 10:26:34 org.apache.catalina.startup.Catalina start
信息: Server startup in 268 ms
我的是eclipse3.6+tomcat7+jdk1.6啊 那个tcnative-1.dll文件也有啊 没办法 还是不知道怎么解决呢,公司又不能换其他的tomcat
wanjimimalin 2012-07-06
  • 打赏
  • 举报
回复
2012-7-6 11:03:41 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.19.
2012-7-6 11:03:41 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2012-7-6 11:03:42 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8081
2012-7-6 11:03:42 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2012-7-6 11:03:42 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 922 ms
2012-7-6 11:03:42 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2012-7-6 11:03:42 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.26
2012-7-6 11:03:42 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2012-7-6 11:03:42 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2012-7-6 11:03:42 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory highway
2012-7-6 11:03:43 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
放在tomcat/bin下 了还是红字 我是用tomcat6.0+jdk1.6.0_25
zn264 2012-07-05
  • 打赏
  • 举报
回复
tcnative-1.dll
放进去同样的错误
不过不影响使用!
zn264 2012-07-05
  • 打赏
  • 举报
回复
tcnative-1.dll
放进去同样的错误
xiuoxiuo 2012-07-05
  • 打赏
  • 举报
回复
解决喽,感谢噢
躺枪同学 2012-06-10
  • 打赏
  • 举报
回复
[Quote=引用 31 楼 的回复:]

上tomcat官方网站上下载高版本的tcnative-1.dll放到Tomcat6.0\bin目录下
地址是:http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.1.19/binaries/win32/tcnative-1.dll这个是1.1.19版本的支持tomcat6.0.29及以下版本 如果你的tomcat版……
[/Quote]

感谢31楼!
加载更多回复(106)

58,454

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧