This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.



Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EAR Isolation in Jboss 4.0.2  RSS feed

 
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
Boost this thread!