2 Replies Latest reply on Jul 9, 2005 9:32 AM by jthomasrose

    EAR that has SAR, EJB.jar, common.jar and WAR

    mikek753

      Hello,

      I'm looking for example or any info about
      how to create EAR that includes
      common classes for EJB, SAR and WAR as common.jar
      SAR
      EJB.jar
      WAR

      how to tell SAR to use that common.jar is located in EAR

      my.ear
      +-common.jar
      +-my.sar
      +-EJB.jar
      +-my.war

      I put common.jar in MANIFEST.MF Class-Path is located inside my.sar META-INF

      also jboss-app.xml in my.ear specify my.sar to be loaded/deployed

      but, my.sar('s) mbean doesn't see classes that are located in common.jar any way.

      Another thing is that EAR shielded mbean in my.sar from outside EAR
      that mbean in specified in monitoring-service.xml
      How to allow to access from outside of EAR to inside mbeans?

      Looks like that is very specific to JBoss 4.0.0

      Thanks for any info.