Hi my friends,
I developed a MBean which depends on DataSource when it is started. I am trying to say this MBean depends on mySQL datasource on jboss-service.xml. So I took a look of mysql-service.xml and wrote something below on jboss-service.xml.
When I deployed, I found this MBean will not wait mysql-service to start first, so it got an error "JDBC not bound".
So how to say MBean depends on a datasource?
You don't mention your version.
Look at jbossmq-service.xml,
there is a jdbc persistence manager that
depends on the database.