avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: datasource block problems
Date Fri, 01 Jun 2001 19:01:53 GMT
At 11:30 AM 6/1/01 -0700, Ken Geis wrote:
>Eung-ju Park wrote:
>
>>>1) The DefaultDataSourceSelector block only looks for JDBC drivers in 
>>>the system classloader.  I think that it should also check the SAR 
>>>classloader.
>>>
>> 
>> Put your jdbc driver to phoenix's lib dir(/dist/lib).
>> may be works.
>
>Thanks.  This gets me farther, but I still think that it should check 
>the SAR class loader.

We could do both. Check ContextClassLoader first and then revert to
Class.forName() if that fails. Would that work for you?

Cheers,

Pete

*-----------------------------------------------------*
| "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               |
*-----------------------------------------------------*


---------------------------------------------------------------------
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