Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EAR Isolation in Jboss 4.0.2

 
JasmineS Saeid
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A related discussion:

http://www.coderanch.com/t/318044/EJB-JEE/java/EJB-access-classloader

I guess Jboss is different from Tomcat in dealing with war isolation.
[ July 26, 2006: Message edited by: Yuan Ye ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic