我用定时器启动应用的时候发现内存泄漏,具体报错如下:
十月 30, 2015 2:30:12 下午 org.apache.catalina.startup.HostConfig undeploy
信息: Undeploying context [/ChinaMoney Maven Webapp]
十月 30, 2015 2:30:15 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/ChinaMoney Maven Webapp] registered the JDBC driver [net.sourceforge.jtds.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.
十月 30, 2015 2:30:15 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/ChinaMoney Maven Webapp] appears to have started a thread named [startQuertz_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
十月 30, 2015 2:30:15 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/ChinaMoney Maven Webapp] appears to have started a thread named [startQuertz_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
...
定时器定义如下:
30 38 09 * * ?
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
buy_it_now
2
org.quartz.plugins.management.ShutdownHookPlugin
true
true
请各位大神看看问题出在哪里了~跪谢!!!