-
Bug
-
Resolution: Done
-
Major
-
EAP 6.1.0.Alpha (7.2.0.Final)
-
None
-
- Configure a xa-datasource in domain.xml
- Deploy an application that uses it
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.