Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-6435

XA datasources not automatically bound with enable=true

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            smaestri@redhat.com Stefano Maestri
            fredfrancisco_jira Frederico Francisco (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: