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

2006-12-28 Thread ewade
I am having a similar problem. Right now I just catch the null pointer exception, log it, and sleep. That seems hokey. Is there an event or state somewhere I can test for? Or, I guess specifying the Service bean to start after the EJBs are available would be ok too. View the original post : h

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

2007-01-03 Thread ewade
I now have the answer. It took a while to figure this one out as the documentation is a bit thin. You need the @Depends annotation. It can be applied to your MBean class. The syntax is a bit obscure, but it should look something like: anonymous wrote : @Depends({"jboss.j2ee:ear=yourapp.ear,jar=