avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: JdbcDataSource driver loading (or CLASSPATH for .bar)
Date Tue, 27 Mar 2001 09:59:20 GMT
At 01:00  27/3/01 -0800, John H. Lee wrote:
>
>I'm trying to get JdbcDataSource to work, but I get a ClassNotFoundException
>upon:
>
>	Class.forName("oracle.jdbc.driver.OracleDriver")
>
>I have tried placing the Oracle class archive (classes12.zip) in dist/lib,
>expanded in my .bar (next to my other classes), and in my shell CLASSPATH.
>
>Any clues?  Thanks for your help.

Hmm - are you using the CVS version or the released version? If you are
using the CVS version I know whats causing this and can fix it tomorrow.
The problem is essentially that the classloader hierarchy was setup
incorrectly in first place ;(

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