This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Rust Web Development and have Bastian Gruber on-line!
See this thread for details.
Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

EAR Isolation in Jboss 4.0.2

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A related discussion:

https://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 ]
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic