On Mon, 10 Sep 2001 19:37, Paul Hammant wrote: > Ulrich, > > >we have severe problems here with classloading, which we cannot > >reproduce at will. Sometimes jars in the general Avalon lib directory > >are not found by a block. Sometimes jars in a block's lib directory are > >found by other blocks (even by blocks in another .sar application), > >sometimes not even by their own block. Sometimes Avalon loads blocks and > >sars in alphabetical order, sometimes not. Something is seriously weird > >here and to put my finger on it I'd like to know how and when Avalon > >loads libraries in a multi-block, multi-sar environment like this: > > I've been getting that too. Sometimes works, sometimes does not.
Could you give specific examples so I can track down the culprit. The application should not rely on any ordering semantics of loading the .bars/.jars/.zips inside .sars as it is OS specific. However these classes will always be loaded after <base>/lib/*.jar. Anyways if you can point out an example error (or preferably a junit test case) I will fix it. -- Cheers, Pete ---------------------------------------- Why does everyone always overgeneralize? ---------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
