首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

The APR based Apache Tomcat Native library which allows optimal performance in p

2012-12-27 
The APR based Apache Tomcat Native library which allows optimal performance in production environme

The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found ......
启动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可以解决这一个问题。我试过不行。
如今我也遇到这个问题,恳请各位指点,万分感谢!!十分火急!!!!
[解决办法]
路过帮你顶一下
[解决办法]
帮顶
[解决办法]

[解决办法]
记得以前做项目也遇到过在喝种情况,网上说那个方法根本不管用,看看你的javaw.exe进程在运行吗?(用Ctrl+Alt+del)如果在运行,就stop掉。然后再启动tomcat试试。

如果还不行的话,我劝楼主别用这个版本的了,就用以前用过的成熟版本的比如JDK1.5,tomcat5.0或者5.5,另外我感觉安装版的还是比较好用的。
[解决办法]
哦,这个问题,官方的参考资料是:http://tomcat.apache.org/tomcat-6.0-doc/apr.html
tomcat整合本地apr会使效率提升:
一是,处理静态资源的时候速度更快,(注:有人用jmeter,对使用apr前后的tomcat进行压力测试,结果显示,性能是有一定的提升,但是没有想象中多,只有一点点,当然,这与运行的逻辑有关,但是我个人认为在大多数情况下这部分性能提升甚微)。
二是,我认为提升比较多的是对ssl的处理效率,当tomcat处理https的请求是,如果使用本地的openssl库,肯定会比前面提升的效率高。(虽然没有实际测试数据,但我推测这里的性能提升比例上要比第一点多得多)。

我看你写blog,觉得你可能漏了些东西,
运行本地apr,需要一下三个库:
    * APR library
    * JNI wrappers for APR used by Tomcat (libtcnative)
    * OpenSSL libraries
好像,你只是安装了中间那个。。。

APR library那个在主页上有详细的安装说明,windows和linux都有。
OpenSSL 在主页上也有安装说明。
[解决办法]
补充一下,其实你这个并不是eclipse或者是myeclipse的问题,而是tomcat本身一个调用本地库的提高运行效率的特性。tomcat没有找到相应的本地库,提示一下而已。
[解决办法]
谢谢各位了,这个问题好象没有太大的实际意思,到如今我还没有解决,但是对程序运行一点不报错。
[解决办法]
http://tomcat.heanet.ie/native/ 下载tcnative-1.dll ,放到../jdk/bin 下,重启tomcat ,应该OK.
[解决办法]
解决方法是把tcnative-1.dll文件放至 Tomcat 6.0\bin 目录下,楼主可试验下!在我这已成功
[解决办法]
我用的是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, while Tomcat requires version 1.1.8 
哎 我重新下载了 1.1.8版本的,还是放在了tomacat 6.0\bin目录下和 jdk\bin目录下,重启,
结果提示An older version 1.1.8 of the APR based Apache Tomcat Native library is installed, while Tomcat recommends version greater then 1.1.10
[解决办法]
为什么会这样啊
到底这样的轮回会有几遍啊
[解决办法]
http://tomcat.heanet.ie/native/1.1.10/binaries/win32/tcnative-1.dll
这个地址下的正确  好用 不好意思 我上一次粘贴的别的地方看的,我还以为一样


这个问题算是解决了 谢谢大家哈 嘿嘿
[解决办法]
每天回帖即可获得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, while Tomcat requires version 1.1.8
哎 我重新下载了 1.1.8版本的,还是放在了tomacat 6.0\bin目录下和 jdk\bin目录下,重启,
结果提示An older version 1.1.8 of the APR based Apache Tomcat Native library is installed, while Tomcat recommends version greater then 1.1.10

tcnative-1.dll版本问题tomcat需要的版本大于1.1.10
[解决办法]
en
[解决办法]
关注,同遇到该问题,不知道该如何解决
[解决办法]
引用:
启动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……


回复楼主:不管你下载何版本动态库,放到指定目录下,启动还是会提示一片红色!

我劝楼主别用这个版本,就用最成熟版本的Tomcat服务,比如JDK1.6.17,tomcat6.0.20较稳定版本!省得给你添加麻烦.
[解决办法]
我也看到这问题了,都试试
[解决办法]
遇到相同的问题   先试试看吧
[解决办法]
关注这个问题的解决办法
[解决办法]
和楼主同样的问题,高度关注中.......
[解决办法]
俺和10楼的差不多,是tomcat版本问题吗?
An incompatible version 1.1.10 of the APR based Apache Tomcat Native library is installed,
下面还有一片这样的提示,我第一次见:
[Server@1296d1d]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@1296d1d]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@1296d1d]: [Thread[main,5,main]]: setPort(9001)
[Server@1296d1d]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@1296d1d]: [Thread[main,5,main]]: checkRunning(false) exited
[解决办法]
把那个文件放到BIN里面就OK拉

[解决办法]
对程序运行影响大么??、
[解决办法]
用了各位的指教的高招,果然管用,在这里多谢了
[解决办法]
jie jue le
[解决办法]
和楼主同样问题!!
[解决办法]
关注过~~~
[解决办法]
可以了,将按前辈说的下载了tcnative-1.dll 文件,分别放在了Tomcat 6.0\bin 
------解决方案--------------------


为什么我的却不行 啊啊!按照前辈的说,我用那个地址去下载那个文件,不行啊
[解决办法]
APR版本太低 换句话说你的tomcat版本太高了  换一个低版本的我用的MyEclipse6.5+tomcat6.0.18
[解决办法]
上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版本更高的话还有更高版本的tcnative-1.dll提供下载

[解决办法]
下载一个更高版本的那个文件后,现在出现新的问题:
2010-12-6 21:02:04 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.19.
2010-12-6 21:02:04 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2010-12-6 21:02:05 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2010-12-6 21:02:05 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
[解决办法]
谢谢,问题解决了。
[解决办法]
今天我也遇到同样的问题了,tcnative-1.dll这个文件没有找到,
在环境变量里配置一下就好了,tomcat目录里有这样一个文件,所以在环境变量里面配置path变量在后面加上
“x:\tomcat\bin”就可以了(没有引号)
[解决办法]
还是没用啊,加了那个文件后出现这个问题。
2010-12-6 20:58:29 org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version 1.1.10 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.17 
[解决办法]
我用的是5.5  添加环境变量 重启eclipse 与楼主相同的错误就没有了!但是输出的消息怎么还是全红的?看看也没有什么错误信息!!!

2011-3-1 23:45:18 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.20.
2011-3-1 23:45:18 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2011-3-1 23:45:19 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2011-3-1 23:45:19 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2011-3-1 23:45:19 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1482 ms
2011-3-1 23:45:19 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-3-1 23:45:19 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.5.33
2011-3-1 23:45:19 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2011-3-1 23:45:20 org.apache.catalina.core.ApplicationContext log
信息: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]


2011-3-1 23:45:20 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2011-3-1 23:45:20 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2011-3-1 23:45:20 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2011-3-1 23:45:20 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2011-3-1 23:45:20 org.apache.coyote.http11.Http11AprProtocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2011-3-1 23:45:20 org.apache.coyote.ajp.AjpAprProtocol start
信息: Starting Coyote AJP/1.3 on ajp-8009
2011-3-1 23:45:20 org.apache.catalina.storeconfig.StoreLoader load
信息: Find registry server-registry.xml at classpath resource
2011-3-1 23:45:21 org.apache.catalina.startup.Catalina start
信息: Server startup in 1297 ms
[解决办法]
下个tcnative 1.dll
[解决办法]
哥们 问题咋解决的啊????
[解决办法]
和35L的哥们一样的错误....杯具
[解决办法]
这问题解决了 就是还有别的问题  咋就解决不了啊
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at org.apache.jsp.main_005fnew_jsp._jspService(org.apache.jsp.main_005fnew_jsp:129)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
at java.lang.Thread.run(Thread.java:619)
[解决办法]
我按照各位前辈的方法做了,问题还是老样子,我用的jdk是1.6版本的
[解决办法]
该回复于2011-03-07 17:42:38被版主删除
[解决办法]
linux 版本的tomcat 下载什么?

[解决办法]


又试了下,下载的cnative-1.dll应该放在它提示的位置,比如lz的应该放在 C:\Program Files\Java\jdk1.6.0_04\jre\bin;或者C:\Program Files\Tomcat 6.0\bin
[解决办法]
和三十五楼一样 红色提示
[解决办法]
这个会不会影响程序的运行呢
[解决办法]
果然有用   学习了学习了
[解决办法]
我用的是tomcat6.0; 下载了tcnative-1.dll的1.1.19版本
分别放在tomcat6.0\jre\bin;
        tomcat6.0\bin;
        windows\system32;
        \MyEclipse 6.0\eclipse\pluginsorg.eclipse.tomc\at_4.1.230.v20070531\下;
最终结果只是和35楼一样。红色字体提示,没有了严重两个字;我看了做项目的同学,他们就到这个程度了,只要不提示错误信息,就可以了。希望大家继续努力,学学理论,能够解决问题。
[解决办法]
同样遇到这个问题 ,关注~
[解决办法]
都是大神级别的
[解决办法]
我到楼主12说的网址下了tcnative-1.dll,然后分别放在Tomcat/bin和../jdk/bin下重启tomcat就可以了
[解决办法]
2011-5-5 15:14:43 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_07\bin;C:\Program Files\Tomcat 6.0\bin
2011-5-5 15:14:43 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2011-5-5 15:14:43 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 475 ms
2011-5-5 15:14:43 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-5-5 15:14:43 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.26
2011-5-5 15:14:43 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2011-5-5 15:14:44 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2011-5-5 15:14:44 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory manager
2011-5-5 15:14:44 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2011-5-5 15:14:44 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2011-5-5 15:14:44 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/16  config=null
2011-5-5 15:14:44 org.apache.catalina.startup.Catalina start
信息: Server startup in 562 ms
按照前面各位大侠的说法试了,旧问题是解决了,但出现了新问题:
2011-5-4 21:52:31 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.20.
2011-5-4 21:52:31 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].


2011-5-4 21:52:32 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8088
2011-5-4 21:52:32 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8099
2011-5-4 21:52:32 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2394 ms
2011-5-4 21:52:32 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-5-4 21:52:32 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.26
2011-5-4 21:52:33 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor platform.xml
2011-5-4 21:52:34 org.apache.coyote.http11.Http11AprProtocol start
信息: Starting Coyote HTTP/1.1 on http-8088
2011-5-4 21:52:34 org.apache.coyote.ajp.AjpAprProtocol start
信息: Starting Coyote AJP/1.3 on ajp-8099
2011-5-4 21:52:34 org.apache.catalina.startup.Catalina start
信息: Server startup in 1488 ms
连tomcat主页访问不了,显示错误404
[解决办法]
2011-5-4 21:52:31 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.20.
2011-5-4 21:52:31 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2011-5-4 21:52:32 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8088
2011-5-4 21:52:32 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8099
2011-5-4 21:52:32 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2394 ms
2011-5-4 21:52:32 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-5-4 21:52:32 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.26
2011-5-4 21:52:33 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor platform.xml
2011-5-4 21:52:34 org.apache.coyote.http11.Http11AprProtocol start
信息: Starting Coyote HTTP/1.1 on http-8088
2011-5-4 21:52:34 org.apache.coyote.ajp.AjpAprProtocol start
信息: Starting Coyote AJP/1.3 on ajp-8099
2011-5-4 21:52:34 org.apache.catalina.startup.Catalina start
信息: Server startup in 1488 ms



控制台输出这些信息,但是访问tomcate还是报404.
[解决办法]

引用:
还是没用啊,加了那个文件后出现这个问题。
2010-12-6 20:58:29 org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version 1.1.10 of the APR based Apache Tomcat Native library is installed, while Tomcat……



那你出现这个之后是如何解决的。
[解决办法]
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library


[解决办法]
把http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.1.19/binaries/win32/tcnative-1.dll粘到tomcat下的bin然后重新启动tomcat 真的能用的 我的tomcat版本是apache-tomcat-6.0.32.zip直接解压后用的下载地址: http://labs.renren.com/apache-mirror/tomcat/tomcat-6/v6.0.32/bin/apache-tomcat-6.0.32.zip 
[解决办法]
遇到同样的问题,学习
[解决办法]
很可能是你conf目录下的sever.xml文件出现了错误,我改后可以正常运行了
[解决办法]
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x100045c7, pid=2972, tid=4064
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b23 mixed mode, sharing windows-x86)
# Problematic frame:
# C  [tcnative-1.dll+0x45c7]
#
# An error report file with more information is saved as:
# C:\Program Files\Tomcat 6.0\bin\hs_err_pid2972.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#


停止tomact的时候又出现问题,肿么办?
[解决办法]
http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.1.20/binaries/win32/
下载一个dll就可以了
[解决办法]
没有积分
[解决办法]
server.xml怎么改呀?
[解决办法]
我也遇到这种情况了,不知道怎么解决啊。。
[解决办法]
顶,tomcat7也出现这个问题。
[解决办法]
我用的是tomcat6.0; 下载了tcnative-1.dll的1.1.19版本
分别放在tomcat6.0\bin;
http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.1.19/binaries/win32/tcnative-1.dll
[解决办法]
2011-8-14 21:58:18 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded Apache Tomcat Native library 1.1.10.
2011-8-14 21:58:18 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [false], sendfile [true], accept filters [false], random [true].
2011-8-14 21:58:19 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2011-8-14 21:58:19 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2011-8-14 21:58:19 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1535 ms
2011-8-14 21:58:19 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-8-14 21:58:19 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.13


2011-8-14 21:58:20 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2011-8-14 21:58:20 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2011-8-14 21:58:21 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
2011-8-14 21:58:21 org.springframework.web.context.ContextLoader initWebApplicationContext
信息: Root WebApplicationContext: initialization started
2011-8-14 21:58:21 org.springframework.context.support.AbstractApplicationContext prepareRefresh
信息: Refreshing Root WebApplicationContext: startup date [Sun Aug 14 21:58:21 CST 2011]; root of context hierarchy
2011-8-14 21:58:22 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
2011-8-14 21:58:23 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1cb01e3: defining beans []; root of factory hierarchy
2011-8-14 21:58:23 org.springframework.web.context.ContextLoader initWebApplicationContext
信息: Root WebApplicationContext: initialization completed in 2021 ms
2011-8-14 21:58:23 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring FrameworkServlet 'dispatcher'
2011-8-14 21:58:23 org.springframework.web.servlet.FrameworkServlet initServletBean
信息: FrameworkServlet 'dispatcher': initialization started
2011-8-14 21:58:23 org.springframework.context.support.AbstractApplicationContext prepareRefresh
信息: Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Sun Aug 14 21:58:23 CST 2011]; parent: Root WebApplicationContext
2011-8-14 21:58:23 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/dispatcher-servlet.xml]
2011-8-14 21:58:23 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@af07c4: defining beans [viewResolver,simpleUrlHandlerMapping,helloController,tojson]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@1cb01e3
2011-8-14 21:58:24 org.springframework.web.servlet.handler.AbstractUrlHandlerMapping registerHandler
信息: Mapped URL path [/hello.do] onto handler [com.helloController@19a12ee]
2011-8-14 21:58:24 org.springframework.web.servlet.handler.AbstractUrlHandlerMapping registerHandler
信息: Mapped URL path [/tojson.do] onto handler [com.toJson@50ed02]
2011-8-14 21:58:24 org.springframework.web.servlet.FrameworkServlet initServletBean
信息: FrameworkServlet 'dispatcher': initialization completed in 1346 ms
2011-8-14 21:58:25 org.apache.coyote.http11.Http11AprProtocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2011-8-14 21:58:25 org.apache.coyote.ajp.AjpAprProtocol start


信息: Starting Coyote AJP/1.3 on ajp-8009
2011-8-14 21:58:25 org.apache.catalina.startup.Catalina start
信息: Server startup in 5319 ms
---------------     
报出这种错误  什么原因? 怎么解决啊   ?   大神们帮帮忙啊
[解决办法]
这个有没有影响?
  
[解决办法]
请问55L你的问题解决了吗?我也是你那种问题,显示是启动的 但是程序访问却是404 而且部署的时候 控制台都没有显示部署信息的!   跪求解答
[解决办法]
换了个版本的猫问题解决了
[解决办法]
现在碰到了和楼主同样的问题!
[解决办法]
红色的Spring自带log4打印出来的信息吧
[解决办法]
很纠结 我下载了一个新版本的tomcat也不行 到底要怎样才能解决呀 
[解决办法]
又没报异常或者错误,不要紧的
[解决办法]
同样问题 
关注

[解决办法]
到底怎么解决啊
[解决办法]
不错 ,我也弄好了
[解决办法]
不得行哦
[解决办法]
下一个高版本的才可以,我试过了,低版本的不行
[解决办法]
我也遇到该问题,对程序没影响~~~
[解决办法]
谢谢 31楼
[解决办法]
都是大牛啊,解决了,顺便给没有解决的兄弟说一声,如果你加入tcnative-1.dll之后还是有相应的提示,说明你加入的版本不够新,找一个最新的放进去就ok了
[解决办法]

引用:
2011-8-14 21:58:18 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded Apache Tomcat Native library 1.1.10.
2011-8-14 21:58:18 org.apache.catalina.core.AprLifecycleListener init
信息: APR c……



都不可以呀,怎么解决,有高手吗?
[解决办法]
感谢前辈们的指导,我的错误也弄好了,我的搭配环境是MyEclipse7.0+JDK1.6+Tomcat6.0。
[解决办法]
兄弟,你还在纠结吗? 

其实,这个哥们回答是正确的,我刚试了。

记得以前做项目也遇到过在喝种情况,网上说那个方法根本不管用,看看你的javaw.exe进程在运行吗?(用Ctrl+Alt+del)如果在运行,就stop掉。然后再启动tomcat试试。

如果还不行的话,我劝楼主别用这个版本的了,就用以前用过的成熟版本的比如JDK1.5,tomcat5.0或者5.5,另外我感觉安装版的还是比较好用的。 

[解决办法]
兄弟,你还在纠结吗?
[解决办法]
linux环境下这个问题怎么解决?
[解决办法]
哈哈 我的解决办法是 换了个JDK 换了个TOMCAT
[解决办法]
http://archive.apache.org/dist/tomcat/tomcat-connectors/native/   下载一个1.1.19的没出错了
[解决办法]

信息: The APR based Apache Tomcat Native library which allows optimal performanc


e in production environments was not found on the java.library.path: C:\Program
Files (x86)\Apache Software Foundation\Tomcat 6.0\bin;.;C:\windows\Sun\Java\bin;
C:\windows\system32;C:\windows;C:\windows\system32;C:\windows;C:\windows\System3
2\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\b
in\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Lenovo\
Bluetooth Software\;C:\Program Files\Lenovo\Bluetooth Software\syswow64;C:\Progr
am Files\Broadcom\WHL\;C:\Program Files\Broadcom\WHL\syswow64;C:\Program Files\B
roadcom\WHL\SysWow64\;C:\Program Files\Broadcom\WHL\SysWow64\syswow64;D:\Program
 Files\Windows7Master;C:\Program Files (x86)\Common Files\Thunder Network\KanKan
\Codecs;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program F
iles\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\
100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell
\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Progr
am Files (x86)\Java\jdk1.6.0_25\bin;C:\Program Files (x86)\Apache Software Found
ation\Tomcat 6.0\bin
同求。
注:我的系统是windows 7 64位
[解决办法]
首先先试下不打开http://localhost:8080
打开http://127.0.0.1:8080/ 看能否显示主页。
如果不行就
http://tomcat.heanet.ie/native/
下载对应的tcnative-1.dll版本。



[解决办法]
该回复于2011-11-28 09:22:09被版主删除
[解决办法]
D:\JAVA\apache-tomcat-6.0.26\conf\Catalina\localhost目录下的一个自己程序生成一个配置文件。
我删除这个配置文件后就不能运行了也报上面的错误,我问题解决是在项目--属性--tomcat 里面的is a tomcat project 那个钩取消再重新勾上后点击下面的OK退出再运行就好了,不知道你的是否也是这个问题,上面各位的意见也不错 学习了;
[解决办法]
我也遇到同样的问题,本来开始是可以运行的但是我的程序是设置了一个tomcat运行时指定运行那个配置文件下的代码及
[解决办法]
恢复一下,吃个红
[解决办法]
再顶顶,一样的困惑...
[解决办法]
可以从这里下载,版本齐全〉
http://archive.apache.org/dist/tomcat/tomcat-connectors/native/
[解决办法]
   貌似 6.0.20这个版本比较好。。顶一下。。。
[解决办法]
正好也遇到这个问题,学习一下
[解决办法]
问题解决!   
下一个高版本的!

热点排行