Hello,

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:

~avalon/lib

~avalon/apps/foo.sar
~avalon/apps/foo/blocks/block1/lib
~avalon/apps/foo/blocks/block2/lib

~avalon/apps/bar.sar
~avalon/apps/bar/blocks/block3/lib
~avalon/apps/bar/blocks/block4/lib

~avalon/apps/baz.sar
~avalon/apps/baz/blocks/block5/lib

Now, suppose block3 and block5 need the same jar - where do I put it?
What is the general strategy of Avalon loading jars?

Thank you very much for any pointers,

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to