avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darrell DeBoer <li...@bigdaz.com>
Subject [PATCH] Fix driver loading in cornerstone DefaultDataSourceSelector.java
Date Sat, 04 Aug 2001 11:20:50 GMT
Hi

I've been having problems using the DataSourceSelector block in James; the 
driver class was being loaded, but not initialised. Patch is included.

ciao
Daz

Index: DefaultDataSourceSelector.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/datasource/DefaultDataSourceSelector.java,v
retrieving revision 1.6
diff -r1.6 DefaultDataSourceSelector.java
73c73
<                     classLoader.loadClass( driver );
---
>                     Class.forName( driver, true, classLoader );



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


Mime
View raw message