Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error

 
George Xia
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Every time,when i copy the .class file from myEclipse to Tomcat\webapps\my\WEB-INF\classes file.MyEclipse always give me the informaiton
信息: Reloading Context with name [/my] has started
2012-4-22 13:30:14 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/my] 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.

Could you tell me the reason and how to solve this problem?
 
Wendy Gibbons
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
are you running tomcat inside eclipse?
as if you are you don't need to move the files (providing you have eclipse set up as a web project).

sorry other than that i am stumped
 
Tim Moores
Bartender
Posts: 3129
50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most JDBC drivers don't unregister themselves, so this message is pretty normal. But it's unlikely to be a problem unless you restart web apps many times between Tomcat restarts. What's more, in this case the message actually tells you that the driver has been unregistered - so there is no leak.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic