013-7-15 16:47:59 org.apache.catalina.startup.HostConfig checkResources
信息: Reloading context [/OurProiect]
2013-7-15 16:47:59 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/OurProiect] 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.
2013-7-15 16:47:59 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/OurProiect] appears to have started a thread named [Timer-2] but has failed to stop it. This is very likely to create a memory leak.
2013-7-15 16:47:59 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/OurProiect] appears to have started a thread named [C3P0PooledConnectionPoolManager-Helper Thread-#0] but has failed to stop it. This is very likely to create a memory leak.
2013-7-15 16:47:59 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/OurProiect] appears to have started a thread named [C3P0PooledConnectionPoolManager-Helper Thread-#1] but has failed to stop it. This is very likely to create a memory leak.
2013-7-15 16:47:59 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/OurProiect] appears to have started a thread named [C3P0PooledConnectionPoolManager-Helper Thread-#2] but has failed to stop it. This is very likely to create a memory leak.
2013-7-15 16:47:59 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/OurProiect] 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.

解决方案 »

  1.   

    这个貌似是tomcat版本的问题,试试把server.xml里面的<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/>;
    注释掉
      

  2.   

    这个跟tomcat的版本有关,主要是为了验证内存泄露的,没多大影响!详细见:
    http://www.object8888.com/article.asp?id=254
      

  3.   


    可以不用停掉也可以发布吧。
    是的,但是你发布的时候myeclipse会自动终止之前的服务,就会报你上面那个错误