3 Replies Latest reply on Feb 1, 2013 6:35 AM by fredfrancisco

    XA-Datasource not binding with enable=true

    fredfrancisco Newbie



      I was using jboss-as-7.1.4.Final.SNAPSHOT and my current configuration worked.


      Now I am using jboss-as-7.2.0.Alpha1-SNAPSHOT, built today, and I am having some issues getting the datasource to binding.


      It seems that my xa-datasource is not started automatically and this causes my applications to fail with:

      [Server:master-server-one] JBAS014775:New missing/unsatisfied dependencies:
      [Server:master-server-one]   service jboss.data-source.java:jboss/datasources/XADS (unavailable) dependents: [service jboss.deployment.subunit."myapp.ear"."myapp-ejb.jar".component.UserClass.jdbc.store-manager.INIT]


      The webconsole shows that the datasource is enabled but when I try to disable it I get:


      Internal Server Error


          "outcome" => "failed",

          "result" => undefined,

          "failure-description" => "JBAS010839: Operation failed or was rolled back on all servers.",

          "rolled-back" => true,

          "server-groups" => {"cedsif-server-group" => {"host" => {"master" => {"master-server-one" => {"response" => {

              "outcome" => "failed",

              "failure-description" => "JBAS010455: Data-source service [XADS] is not enabled",

              "rolled-back" => true




      The only way I got it to work was to use jboss-cli to start the datasource and then redeploying my applications.


      Also, it works if I use a non-xa datasource.


      Can anyone give me any pointers?