You're saying it works with a single .ear?
(as I think it should with that your .ear/META-INF/jboss-classloading.xml)
When deploying 2 .ears,
do you use the same domain name in both jboss-classloading.xml?
btw: I think you don't need that jboss-classloading.xml in .war