You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Peter Donald <do...@apache.org> on 2001/03/28 05:40:26 UTC

[Phoenix] Classpath etc was RE: JdbcDataSource driver loading

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