Yuval,
In your orion-application.xml of your ear application, you can put this tag:
library path=lib /
This is after the persistance tag and before the principals tag.
In your ear layout, include a directory lib, so now the layout should look
like this:
META-INF
META-INF/application.xml
Yuval,
The following new tutorial on our knowledge base may help you:
http://kb.atlassian.com/content/atlassian/howto/classloaders.jsp
It details all the different levels of classloaders available in Orion.
Please feel free to annotate the page with any comments: