Bug 55444 - Support JDBC Drivers outside of tomcat/lib/
Summary: Support JDBC Drivers outside of tomcat/lib/
Status: RESOLVED DUPLICATE of bug 53853
Alias: None
Product: Tomcat Modules
Classification: Unclassified
Component: jdbc-pool (show other bugs)
Version: unspecified
Hardware: PC Mac OS X 10.4
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-18 02:54 UTC by dblevins
Modified: 2014-08-07 23:25 UTC (History)
0 users



Attachments
Patch for loading from Thread context classloader (2.45 KB, text/plain)
2013-08-18 02:54 UTC, dblevins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dblevins 2013-08-18 02:54:12 UTC
Created attachment 30742 [details]
Patch for loading from Thread context classloader

We use the Tomcat jdbc pooling code in TomEE by default and would like to allow users to put drivers in alternate locations than the server lib/ directory.  Motivation is some users have reported need to support different versions of the same driver class to be able to connect to different versions of the same database .

The attached patch uses the same classloading logic first, if that fails it tries again using the Thread context classloader.
Comment 1 Filip Hanik 2014-08-07 23:25:03 UTC

*** This bug has been marked as a duplicate of bug 53853 ***