Have you tried depending on
This is the objectname for the jboss-service.xml which is the last one that shows up on the console before the "Started JBoss" message.
No! I'll give it a try, thanks!
no, it didnt work. The URLDeploymentScanner is finished before the jboss-service.xml is started, so my service is never deployed when it depends on it.
Use the MBeanServer to add a notification listener on the deployment scanner
then wait until you get an attribute change notification for State == ServiceMBean.STARTED
Thanks, I'm gonna try it out!