• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with the JBDC driver

 
Andrei Antonescu
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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.

Jul 22, 2010 12:23:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesStopTimerThread

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.

Jul 22, 2010 12:23:37 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

....

In hibernate.cfg.xml I am using:



Does this mean that I am having a memory leak? Will I have problems with this application if I use it in production?

Thanks
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, not really a Struts question. Moving.
 
Tamas Ragoncsa
Greenhorn
Posts: 6
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This topic is discussed in detail here:
http://bugs.mysql.com/bug.php?id=36565

Tamas
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic