2011-10-20 46 views
0

我有一些問題在Tomcat上部署Groovy & Grails應用程序7.的Tomcat 7:JDBC驅動程序已被強行取消註冊

有我的配​​置:

Tomcat Version: Apache Tomcat/7.0.8 
JVM Version: 1.6.0_26-b03 
JVM Vendor: Sun Microsystems Inc. 
OS Name: Linux 
OS Version: 2.6.32-32-server 
OS Architecture: amd64 
Grails: 1.3.8 
Groovy: 1.8.0 

在服務器上有5種不同的應用所有乳寧和使用com.mysql.jdbc.Driver,但是當我要部署一個更多的應用我GER此錯誤:

SEVERE: The web application [/RacuniWeb_v3-0.1] 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.

任何人都可以^ h elp我?該部署該做什麼工作?

+2

聽起來像這[問題]的副本(http://stackoverflow.com/questions/3320400/to-prevent-a-memory-leak-the-jdbc-driver-has-been-forcibly-unregistered)。 –

+0

您的應用程序未被部署。這個信息與原因無關。在它之前檢查消息。 –

回答

1

當tomcat jdbc驅動程序在您的grails應用程序中時,您會收到此消息。 (在lib中)文件夾。當您將jdbc驅動程序放入tomcat lib文件夾而不是位於應用程序li​​b文件夾中時,此消息將消失。

相關問題