avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Vytas <pvy...@thinkdynamics.com>
Subject RE: ClassLoaders
Date Wed, 23 Oct 2002 19:25:52 GMT
Thanks Igor.


- Paul

-----Original Message-----
From: Peter Donald [mailto:peter@apache.org]
Sent: Saturday, August 31, 2002 12:18 AM
To: Avalon-Phoenix Developers List
Subject: Re: ClassLoaders

On Sat, 31 Aug 2002 06:46, Steve Short wrote:
> Can anyone give me a quick summary of how Phoenix sets up and uses
> ClassLoaders for itself and for it's applications.  Including
> application ClassLoaders and system extension ClassLoaders.
> I am trying to get James working under Jboss and the problem I have is
> that Phoenix cannot find AbstractLogEnabled when it starts loading the
> James SAR file.

The basic classloader structure is as follows

system <--- application
       <--- kernel

The system one includes all the jars in the $PHOENIX_HOME/lib directory and
achieve this via overiding the java.ext.path.

The kernel one includes everything in $PHOENIX_HOME/bin/lib

The application one includes all the jars in your .sar file. If any of your 
jars declare dependencies on an extension library, then phoenix will look
jar providing extension from 


and add it into the application classloader.

That help?


Peter Donald
"Artists can color the sky red because they know it's blue.  Those of us who
 aren't artists must color things the way they really are or people might 
 think we're stupid." -- Jules Feiffer 

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message