日期:2014-05-18  浏览次数:20709 次

tomcat6.0.20启动出错
在服务器发布项目,启动tomcat6.0.20的时候出现下面的问题


在本机运行正常,都是整个打包的,里面的jar包都有,放到服务器就跑不起来,请大家帮看看怎么解决。
tomcat

------解决方案--------------------
这些只是警告,项目运行没问题吧

原因是兼容JDBC4.0的驱动自动注册又不自动注销

Since version 6.0.24, Tomcat ships with a memory leak detection feature, which in turn can lead to this kind of warning messages when there's a JDBC 4.0 compatible driver in the webapp's /WEB-INF/lib which auto-registers itself during webapp's startup using the ServiceLoader API, but which did not auto-deregister itself during webapp's shutdown. This message is purely informal, Tomcat has already taken the memory leak prevention action accordingly.
------解决方案--------------------
监听器配置有问题,检查下web.xml