INFO: Deploying configuration descriptor host-manager.xml
Dec 30, 2014 3:25:52 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Dec 30, 2014 3:25:52 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Dec 30, 2014 3:25:52 PM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
14-12-30 15:25:52,801 INFO org.springframework.web.context.support.XmlWebApplicationContext - Closing org.springframework.web.context.support.XmlWebApplicationContext@2b499ae: display name [Root WebApplicationContext]; startup date [Tue Dec 30 15:25:45 CST 2014]; root of context hierarchy
14-12-30 15:25:52,802 INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@284f1e63: defining beans [org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#1,CommonDataSource,orderDao,CommonSessionFactory,gmCommonService,adminsService,channelService,CommonBaseServiceImpl,CommonBaseHibernateDao,CommonHibernateDaoSupport,CommonHibernateTemplate,dataSource,sessionFactory,rechargeOrdersTask,coinsLogTask,onlinePlayerStatisticTask,playersTask,loginLogTask,storeSalesLogTask,itemsLogTask,rechargeOrdersService,coinsLogService,onlinePlayerStatisticService,playersService,loginLogService,storeSalesLogService,itemsLogService,playerInfoDao,serversService,payPlatformService,orderService,baseServiceImpl,baseHibernateDao,HibernateDaoSupport,HibernateTemplate,configProperties,propertyConfigurer,SchedulerTaskService,quartzJob,quartzTrigger,job]; root of factory hierarchy
14-12-30 15:25:52,802 INFO org.springframework.scheduling.quartz.SchedulerFactoryBean - Shutting down Quartz Scheduler
14-12-30 15:25:52,807 INFO org.springframework.orm.hibernate3.LocalSessionFactoryBean - Closing Hibernate SessionFactory
14-12-30 15:25:52,807 INFO org.hibernate.impl.SessionFactoryImpl - closing
14-12-30 15:25:52,809 INFO org.springframework.orm.hibernate3.LocalSessionFactoryBean - Closing Hibernate SessionFactory
14-12-30 15:25:52,810 INFO org.hibernate.impl.SessionFactoryImpl - closing
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: 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.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [job_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [job_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [job_Worker-3] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [job_Worker-4] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [job_Worker-5] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [job_Worker-6] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [job_Worker-7] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [job_Worker-8] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [job_Worker-9] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [job_Worker-10] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [pool-1-thread-1] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [pool-1-thread-2] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [pool-1-thread-3] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [pool-1-thread-4] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [pool-1-thread-5] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [pool-1-thread-6] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [pool-1-thread-7] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [pool-1-thread-8] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [pool-1-thread-9] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [pool-1-thread-10] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [pool-1-thread-11] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [pool-1-thread-12] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [pool-1-thread-13] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:52 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/] appears to have started a thread named [pool-1-thread-14] but has failed to stop it. This is very likely to create a memory leak.
Dec 30, 2014 3:25:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Dec 30, 2014 3:25:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Dec 30, 2014 3:25:53 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Dec 30, 2014 3:25:53 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Dec 30, 2014 3:25:53 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Dec 30, 2014 3:25:53 PM org.apache.catalina.connector.MapperListener registerEngine
WARNING: Unknown default host: localhost
Dec 30, 2014 3:25:53 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Dec 30, 2014 3:25:53 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/13 config=null
Dec 30, 2014 3:25:53 PM org.apache.catalina.connector.MapperListener registerEngine
WARNING: Unknown default host: localhost
Dec 30, 2014 3:25:53 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 9402 ms
原因是Tomcat6.0.25以后的版本引入了内存泄露阻止机制,检测到jdbc在tomcat运行时进行注册,但是当tomcat停止时没有解除注册。
网上有3中解决方案:1. 将jdbc驱动包拷贝至tomcat的lib下,由tomcat自己进行管理
2. 将tomcat的server.xml中,删除防止内存泄露监听这行: