• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem placing SAR in EAR

 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Using JBOSS 3.0.6, EJB CMP 2.0

here goes my situation
I am having an MBean that depends on one of my ejb's in the application EAR. Now whenever i hot redeploy the MBean starts throwing exceptions cuz the beans no longer exists.
After exhaustive searching came to know that i need to inlcude the MBeans in a SAR and place the corresponding jboss-service.xml in META-INF directory of the SAR.
Place the SAR in EAR and then add a link of SAR in the jboss-app.xml

Here goes the files
<jboss-app>
<loader-repository>kom.jmx:loader=test.ear</loader-repository>
<module>
<service>new.sar</service>
</module>
</jboss-app>

i tried .sar in both exploded and imploded formats, and also i tried including both (exploded and imploded) formats in the EAR.
But no matter what i get
Failed to find the module: new.sar
Btwn, I am not sure what shud be there exactly in the <loader-repository>

somebody please provide me with an example, if i had
new.sar in test.ear
Regards
Meka Toka
 
reply
    Bookmark Topic Watch Topic
  • New Topic