On Fri, 15 Jun 2001 19:59, Marcos Sanz/Denic wrote:
> Well, they are now the brand new downloaded versions of Phoenix and
> Cornerstone. The problem is the same and the logs do not bring any new
> message:-/
Doh! Can you try updating CVS for phoenix again - I just made a minor
alteration. Then if it still occurs could you send another trace ? ;)
> > Nope - that shouldn't be a problem. Do they depend on any jars in the
> > globale classloader (ie do they depend on any jars in
> > <phoenix.home>/libs/*.jar???). If so that could be a problem depending on
> > the jar.
>
> I put some of my jars in the globale library: those which were being used
> by the common blocks.
>
> Avalon runs wonderfully with each application _separately_, but does not
> when both are present. Do you need any additional info?
That could be the culprit. Currently the classes in <phoenix.home>/libs/ are
loaded in a single ClassLoader. Thus all the classes in that are share static
members of classes. It was originally done this way as that is how someother
application servers do it (ie Tomcat and some of the EJB servers). I have
been thinking that it may be better to actually create a separate ClassLoader
for all of the classes except those absolutely required to be shared (and
that don't have any statics) such as LogKit/Framework/Excalibur. This may be
another strategy to try if nothing else becomes obvious ;)
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]