I am using Struts 2, Hibernate and Eclipse as IDE. If I start the server (Tomcat 6.0) and then modify some of the code and save (I have 'autodeploy on save' activated), after some time I always get this error:
INFO: Reloading this Context has started
Jul 22, 2010 12:23:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: A web application registered the JBDC 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.
SEVERE: A web application appears to have started a TimerThread named [MySQL Statement Cancellation Timer] via the java.util.Timer API but has failed to stop it. To prevent a memory leak, the timer (and hence the associated thread) has been forcibly cancelled.