0 Replies Latest reply on Oct 16, 2002 3:13 AM by emmanuelgad

    MBean dependency on EAR - HOW?

    emmanuelgad

      hello all,
      how do you specify a dependency of an MBean (defined in a SAR) on an EAR file without hardcoding the ear file absolute path in the *-service.xml? I've been looking on the forums for an answer with little luck. I know I need to define a in the *-service.xml file but don't know how to specify the ear? I tried depending on both:

      jboss.ejb:service=EJBDeployer
      jboss.j2ee:service=EARDeployer

      but still get ClassNotFoundException since the MBean startService() gets called before the EAR is deployed.

      any help much appreciated..

      Emmanuel