2012-10-24 17:52:28 org.apache.catalina.core.StandardContext reload
信息: Reloading Context with name [] has started
2012-10-24 17:52:28 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2012-10-24 17:52:28 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2012-10-24 17:52:28 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.
2012-10-24 17:52:28 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [centraScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
2012-10-24 17:52:28 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [AWT-Windows] but has failed to stop it. This is very likely to create a memory leak.
2012-10-24 17:52:29 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
信息: Reloading Context with name [] has started
2012-10-24 17:52:28 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2012-10-24 17:52:28 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2012-10-24 17:52:28 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.
2012-10-24 17:52:28 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [centraScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
2012-10-24 17:52:28 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [AWT-Windows] but has failed to stop it. This is very likely to create a memory leak.
2012-10-24 17:52:29 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
mysql-connector-java-5.1.18-bin.jar还有Driver换这个试试:
org.gjt.mm.mysql.Driver
我想是不是系统启动后让tomcat自启动造成的?
出现这种问题的原因是:tomcat服务启动时mysql的服务还未启动(启动的先后顺序)