5 Replies Latest reply on Jun 4, 2003 11:51 AM by Adrian Brock

    How to configure an mbean dependency

    Jaap Reitsma Newbie

      I am using 3.0.7 and have a sar with an ear embedded. Hot deployment is allright, but on startup of the server I get exceptions due to the missing datasource during the deployment of the entity beans.

      When I add an dependency to the conf/jboss-service.xml under the EJBDeployer:
      jboss.jca:service=LocalTxCM,name=MySqlDS

      then the problem is solved.

      However, I cannot imagen that I have to modify this file each time I add a datasource.

      So: What is the proper way to define a dependency between an entity bean and its datasource (binding)?