I think I found a minor defect in the jboss-cli /xa-data-source operation
in Widlfly 8. Can anyone confirm this or correct me if I'm wrong?
Currently the jboss-cli doesn't let you set the jta true/false property on
an XA data source. You can set this property on a regular data source, but
not an XA one. Is this intentional or a defect?
If it is a defect, I think the problem might be in this file:
You can see on line 419 that DATASOURCE_ATTRIBUTE includes the JTA
static final SimpleAttributeDefinition DATASOURCE_ATTRIBUTE = new
DRIVER_CLASS, Constants.DATASOURCE_CLASS, JNDI_NAME,
But on line 492, the XA_DATASOURCE_ATTRIBUTE doesn't have JTA
static final SimpleAttributeDefinition XA_DATASOURCE_ATTRIBUTE =
Would just adding "JTA," after USE_JAVA_CONTEXT on line 492 fix this, or is
there more that needs to be done? I'm happy to submit a pull request to
fix, but it is such a minor change that it might be easier for someone
already working in the code to do it.
Thanks for your help and my apologies if this is already been reported or