1 Reply Latest reply on Jul 29, 2005 7:59 AM by jaikiran pai

    Dependency of a MBEan on a .ear file

    jaikiran pai Master

      Hi,
      Is there any way where i can specify a dependency of a MBean on a .ear file. My ear file contains:
      - xyz_ejb.jar ---> EJBModule
      - abc.jar
      - 123.properties

      My MBean depends on the abc.jar file which actually uses the 123.properties file to do some processing. Now, i could not find a way to specify a dependency on a jar file. So thought of placing a dependency on a ear file, as follows:

      <depends>jboss.management.local:J2EEServer=Local,j2eeType=J2EEApplication,name=myApp.ear</depends>


      However this is NOT working. Through the jmx-console i can find that this has been deplyed.

      Can anyone suggest a solution for the same.

      Thank you.