avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject [Phoenix] Classpath etc was RE: JdbcDataSource driver loading
Date Wed, 28 Mar 2001 03:40:26 GMT
At 11:19  27/3/01 -0800, John H. Lee wrote:
>Aha!  So I'm not insane.  I'm using the 2001-03-26 build
>(http://jakarta.apache.org/builds/jakarta-avalon/nightly/2001-03-26/).
>
>A fix would be great...I'll look into fixing it, but I think this is beyond
>my understanding of Avalon/Phoenix.

Okay I took a first swing at it and I *think* it should work. What I did
was point java.ext.dirs at <base>/lib. Thus anything under that directory
will be loaded with full permissions and global to the whole of Phoenix.

So if you need to have something shared between multiple Applications then
that is the place to put it. This should also work around the problem of
vendors placing libraries etc into ext/ dir to "help" you. For code that is
application specific you can still place it in
<base>/apps/[appname]/lib/*.jar

This seems to work with everything I have running but it *may* cause
errors. (Maybe with odd non-standard JVMs).

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