I'm seeing a problem deploying an EJB jar and an mbean -service.xml file into JBoss 3.2.1.
If I copy them into the deployment directory one by one whilst jboss is running its fine - the EJBs deploy followed by the service MBean. The problem is that when JBoss is restarted the mbean <depends> tag is ignored and it doesn't wait for the EJBs to deploy before deploying the mbean. This causes problems as without the EJB jar loaded the MBean can't load all the classes it needs. I've attached my mbean service.xml below. The depends tags reference jboss Naming and one of my EJBs. I'd expect the deployer to make sure that all the dependencies are deployed before deploying the mbean, but this doesn't seem to be the case. This has been driving me nuts - any ideas for getting deployment to follow the dependencies would be welcome. Thanks in advance, Alex. <?xml version="1.0" encoding="UTF-8"?> <server> <classpath codebase="lib" archives="quickfix.jar"/> <mbean code="com.anvil.ate.market.common.ApplicationConstants" name="com.anvil.ate.market:service=ApplicationConstants"> <depends>jboss:service=Naming</depends> <depends>jboss.j2ee:jndiName=market/MarketData,service=EJB</depends> <attribute name="ServerName">localhost</attribute> <attribute name="InOrderQ">inboundOrderQueue</attribute> <attribute name="InQuoteQ">inboundQuoteQueue</attribute> <attribute name="InSessionQ">inboundSessionQueue</attribute> <attribute name="OutQ">outboundQueue</attribute> </mbean> </server> ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user