2 Replies Latest reply on Jan 28, 2004 6:25 AM by darranl

    MBean dependency on Datasource?

       

      "raybarnett" wrote:
      "raybarnett" wrote:
      I have configured an MBean (x-ds.xml) with a set of services setup in an
      application xml file. Each of the service is dependent on a datasource.
      The datasource has been configured in another file y-ds.xml

      When the server starts up, x-ds.xml gets deployed and attempts to lookup the service datasources, however y-ds.xml has not been deployed yet, hence the lookup of the particular datasource fails, does this mean that JBoss is priortizing deployment of datasources? how do I fix this
      problem if I want my MBean configuration to be in multiple *-ds.xml
      files?

      Thanks for your help.
      /Ray



        • 1. Re: MBean dependency on Datasource?

           

          "raybarnett" wrote:
          Can someone point me to a good resource for JMX customization in JBoss,
          the JBoss documentation chapter on JMX is more theoretical than practical (the examples don't even work) to say the least, I feel terrible to have wasted $100 on this documentation. Please improve your documentation to include working examples. Thank you very much!


          • 2. Re: MBean dependency on Datasource?
            darranl

             

            "darranl" wrote:
            What does your x-ds.xml look like?

            I have only ever used x-service.xml inside a sar to deploy MBeans, in my x-service.xml I have added a depends element to each mbean definition to specify the other services that need to be deployed first.