[jboss-user] [Beginners Corner] - ServiveMBean StartUp sequence

duskodugousko do-not-reply at jboss.com
Thu Dec 28 05:16:19 EST 2006


Hello,
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.

 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996603#3996603

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996603




More information about the jboss-user mailing list