1 Reply Latest reply on Sep 29, 2005 6:07 AM by Darran Lofthouse

    Deploy Mbean which is dependent on a jar file in ear file

    Bhushan Shelke Newbie

      I have writtern a MBean, class of which is in a jar called Rjar.jar
      Follwing is structure of my .ear

      Class which implemets Mbean interface is in Rjar.jar, but the while deploying corresponding xml, xml gets deployed before this .ear is loaded and hence it throws ClassNotFoundException.
      Following is my xml

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE server>


      I have tried various combinations of depends tag. but it is still not working.
      I have usedREJB.jar instead of Rjar.jar (which actually contains class) b'coz JBoss seems to work in this way(Not sure thought)

      Thanks in Advance