I'm relying on a -ds.xml to create a jndi-bound datasource, no problems there. I have mbeans defined in jboss-service.xml. These mbeans rely on the jndi-bound datasource mentioned above. everything seems fine so far, but is there a hard documented dependency tree that says that the jndi datasource will ALWAYS be created before mbeans are loaded?
In your jboss-service.xml, for each of the mbeans that need to be started after the datasources are bound, add the following tag:
<depends>please give the datasource name</depends>