2 Replies Latest reply on May 19, 2003 9:57 AM by remrick

    MBean Dependencies

    remrick

      Hello -

      I think I'm close to getting the solution for this problem but need a little more assistance. Here goes:

      I have an MBean that depends on two things: 1) a datasource being bound to the JNDI registry and 2) an EJB being started and bound as well.

      I have been successful in specifying the datasource clause but not as lucky with the clause for the EJB. Here is what the jboss-service.xml file looks like:




      jboss.jca:service=LocalTxCM,name=MSSQLDS
      jboss.service=Naming,name=com/xxx/cdlm/daoaccessor/ejb/DaoAccessorHome



      What is wrong with the second tag? I simply need for my startup service MBean to run once both dependencies above are met.

      Thanks,
      -Ron