Hello, I'm not sure this is the 'correct' way of doing it, neither do I know if it works for an EAR, however, it worked to make MBeans dependant from an EJB:
If you look into the jmx-console, your ear should appear somwhere like that, under "jboss.management.local": | J2EEServer=Local,j2eeType=J2EEApplication,name=myapp.ear | You then use in your MBean declaration a depends like the following: | <depends>jboss.management.local:J2EEServer=Local,j2eeType=J2EEApplication,name=myapp.ear</depends> | And it 'should' work. Otherwise, I guess I just showed my ignorance :-) Louis View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840299#3840299 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840299 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
