[jboss-jira] [JBoss JIRA] (AS7-6435) XA datasources not automatically bound with enable=true

Frederico Francisco (JIRA) jira-events at lists.jboss.org
Fri Feb 1 06:32:51 EST 2013


Frederico Francisco created AS7-6435:
----------------------------------------

             Summary: XA datasources not automatically bound with enable=true
                 Key: AS7-6435
                 URL: https://issues.jboss.org/browse/AS7-6435
             Project: Application Server 7
          Issue Type: Bug
          Components: JCA
    Affects Versions: 7.2.0.Alpha1
         Environment: Fedora 18 (x86_64)
JDK 7u11
jboss-as-7.2.0.Alpha1-SNAPSHOT (built today)

            Reporter: Frederico Francisco
            Assignee: Jesper Pedersen


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list