tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <>
Subject Loading drivers from outside server lib/
Date Sun, 18 Aug 2013 03:06:59 GMT
Hi All!

Whipped up a short little patch to allow for JDBC drivers and interceptors to be loaded from
the thread context class loader as well as the traditional way using effectively the server/lib/
based classloader.


We were using Commons DBCP which did allow for the driver classloader to be set explicitly.
 I was tempted to add similar setDriverClassLoader(ClassLoader) and getDriverClassLoader()
methods to the PoolConfiguration interface, but it looked like the values there have been
intentionally kept to primitive types.  Wasn't sure that would be a welcome change.

Happy to redo this in whichever way might be best.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message