We have two EAR files which basically communicates with other.We are using emf code in our application to provide webservices , so we have packaged emf jars with Both EAR files.
The issue is if we invoke the webservices from first EAR then Jboss able to load required EMF classes and then if we invoke the webservices from second EAR it fails with EMF related classnotfound exception and Vice -Versa.
We are not using any EAR level class isolation.
Any help is highly appreciated.
BTW , we also tried removing common emf jars from both EAR's and put it in server/default/lib but that doesn't help.