This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes EAR Isolation in Jboss 4.0.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EAR Isolation in Jboss 4.0.2" Watch "EAR Isolation in Jboss 4.0.2" New topic

EAR Isolation in Jboss 4.0.2

JasmineS Saeid

Joined: Jan 10, 2006
Posts: 18
Hi all,

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.....

Please help
Yuan Ye
Ranch Hand

Joined: Mar 05, 2003
Posts: 172
A related discussion:

I guess Jboss is different from Tomcat in dealing with war isolation.
[ July 26, 2006: Message edited by: Yuan Ye ]
I agree. Here's the link:
subject: EAR Isolation in Jboss 4.0.2
It's not a secret anymore!