You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chris Brown <br...@reflexe.fr> on 2002/09/23 09:57:04 UTC

Classloaders, JDBC drivers (etc.), and reloading webapps with the /manager

Hello,

If I include a JAR file for a JDBC driver within my webapp's /WEB-INF/lib
path, calling Class.forName("some.driver") registers the driver with the
java.sql DriverManager.  No problem... until I reload the context using the
/manager webapp.

Is the class definition (and in particular, the driver instance) still
valid, given that the classloader used for the driver (and all classes
loaded by it, including the driver) will have been reloaded ?

Thanks,
Chris B.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>