avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: Why DataSourceComponent do not load jdbc driver internaly?
Date Tue, 27 Feb 2001 07:17:56 GMT
At 09:31  26/2/01 -0500, Berin Loritsch wrote:
>> I load jdbc driver class in my block.
>> but block's class loader is child of JdbcDataSource's class loader
>> therefore JdbcDataSource do not load jdbc driver. :-)
>> because JdbcDataSource's class loader do not access parents class loader.
>> ...
>I see. In order for this to be usable in multiple environments, we need
>to have the JdbcDataSource load the class at Config time.  That can be

Another alternative in the meantime is to place the jdbc driver jars in
<dist-base>/lib which I think will work.



| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |

View raw message