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.
*** This bug has been marked as a duplicate of bug 53853 ***