tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@gmail.com>
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.

 - https://issues.apache.org/bugzilla/show_bug.cgi?id=55444

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.


-David


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message