[jboss-dev] jars in sars visible from ears, my arse!

Andrew Dinn adinn at redhat.com
Tue Sep 22 09:35:11 EDT 2009


On 09/22/2009 01:34 PM, Adrian Brock wrote:
> The simple answer is to define your<context-root/>
> in a WEB-INF/jboss-web.xml

Excellent, that should do . . . yes, indeed, it just did :-)

> Your real problem is that before you had an ear that was in the
> "DefaultDomain". But since isolation got turned on by default
> that is no longer true, each ear gets its own
> isolated classloading domain.
>
> It's an ear because you have a META-INF/application.xml (regardless of
> what extension you put on the end).
>
> So the other alternative is to keep your application.xml
> and put the ear back in the "DefaultDomain"
> using a META-INF/jboss-classloading.xml (for the ear in your case)
> similar to the second solution here:
> http://www.jboss.org/community/wiki/useJBossWebClassLoaderinJBoss5

Hmm, I'll keep that trick in reserve. Thanks for the help.

regards,


Andrew Dinn
-----------



More information about the jboss-development mailing list