3 Replies Latest reply on Jan 3, 2007 7:20 AM by duskodugousko

    ServiceMBean Start Sequence

    duskodugousko Newbie

      i have develop a ServiceMBean wich is using some EJB´s for initializing, and backup data for a application.

      My problem is that jboss starts my Service bevore the EJB´s are deployed and so i become a javax.naming.NameNotFoundException: testBeans not bound.

      When i deploy my Service after jboss has been started, my service works fine.

      Is there a way to say jboss when to start my Service like depend on etc...?
      The service should start after deploying the EJB´s.