Bonjoir,
Dans nos applications, ne devrait-on pas faire :
Enumeration<Driver> drivers = DriverManager.getDrivers();
while (drivers.hasMoreElements()) {
Driver driver = drivers.nextElement();
try {
DriverManager.deregisterDriver(driver);
} catch (SQLException e) {
}
}
Pour que tomcat ne dise plus:
févr. 19, 2014 10:32:41 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
Grave: The web application [/xxx] registered the JDBC driver
[org.h2.Driver] but failed to unregister it when the web application was
stopped. To prevent a memory leak, the JDBC Driver has been forcibly
unregistered.
?
--
Éric Chatellier