lemonzone2010 / javamelody

Automatically exported from code.google.com/p/javamelody
0 stars 0 forks source link

use threadcontext-classloader to load jdbc-driver #261

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
net.bull.javamelody.JdbcDriver should use 
Thread.currentThread().getContextClassloader() to load the proxied driver-class.

the jdbc-driver may not allways be accessible using the same classloader as was 
used to load javamelody.

regards

Original issue reported on code.google.com by gerp...@gmail.com on 10 Oct 2012 at 11:07

GoogleCodeExporter commented 9 years ago
It seems right to me.

This is included in trunk (revision 3092) and ready for the next release (1.42).
I have made a new build from the trunk including the fix and it is available at:
http://javamelody.googlecode.com/files/javamelody-20121020.jar

Original comment by evernat@free.fr on 20 Oct 2012 at 8:22