I am facing with a problem reagrding the deployment of EAR files in Jboss 4.0.2.
I have a java class packaged in a Jar that read xml files and this class is bundled in 3 different EAR files.
The EAR deployment contains a WAR, EJB and the above said JAR. The xml files is also bundled with these 3 EARs respectively.
I want the EAR to be isolated form each other.
Used the load-repository in jboss-app.xml. But in vain...
At run time the EAR cannot distinguish between the xml files that it is reading from. One EAR tries to read it from the EAR which was deployed before it rather than reading it from its own deployment.....