启动tomcat服务器时出错

时间:2014-05-20 08:55:56

标签: java tomcat logging

当我启动tomcat服务器时 我收到了这个错误

INFO: Server startup in 1751 ms
20 mai 2014 10:42:47 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
GRAVE: The web application [/servlet] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
20 mai 2014 10:42:47 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/servlet] appears to have started a thread named [Thread-4] but has failed to stop it. This is very likely to create a memory leak.
20 mai 2014 10:42:47 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/servlet] appears to have started a thread named [CronTriggers_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
20 mai 2014 10:42:47 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/servlet] appears to have started a thread named [CronTriggers_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
你可以帮我吗

1 个答案:

答案 0 :(得分:0)

检查是否已创建任何静态连接对象。即使应用程序停止,静态对象也会生活在服务器堆中。