1 Reply Latest reply on Apr 2, 2003 5:29 PM by Adrian Brock

    MBean dependency

    Wenpan Wu Newbie

      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.

      codebaby/SyncLocker
      jboss:service=Naming
      jboss.jca:service=LocalTxDS

      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?

      Thanks,