Could someone please give me a hint how could I make certain MBean to get deployed after the EJB? Both the MBean and EJB are the part of the same EAR file.
I have tried to make mbean be dependable on the EJB (using "depends" option in jboss-service.xml), but that only gives me an error during the startup: 17:28:27,938 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' | Cause: Incomplete Deployment listing: | Packages waiting for a deployer: | <none> | Incompletely deployed packages: | <none> | MBeans waiting for classes: | <none> | MBeans waiting for other MBeans: | [ObjectName: jpmorgan.nexus:service=CommunicationManager,name=CommunicationManager1 | state: CONFIGURED | I Depend On: jboss.ejb:service=EJB,name=NexusServiceRemoteHome | | Depends On Me: ] | I am using JBoss 3.2.5. The issue I am having is that that MBean is subscribing to some messages from external application. If the MBean is instantiated before the rest of the app is started, those messages will fail. For that reason I need that MBean started last. Cheers, Peja View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849672#3849672 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849672 ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
