1 Reply Latest reply on Aug 29, 2006 6:50 AM by Mark P Ashworth

    Possible to make an ear deployment dependent on an mBean?

    sappenin Novice

      Is it possible to make an ear depend on a given service Mbean to be deployed before the ear is loaded?

      I've seen examples where a given mbean is made to wait (i.e. depend) on a given ear loading first...but I'm trying to do the opposite.

      Essentially, I have a MessageDriven EJB that calls an Mbean service inside of the onMessage() function. When Jboss startsup, I get an error saying that the mBean classes aren't found (and I'm guessing this is because the MDB is being loaded before the MBean is started).

      Thanks!

      David