Regarding the file docs\examples\jca\oracle-xa-ds.xml:
The comment at the top is not correct:
ATTENTION: DO NOT FORGET TO SET Pad=true IN transaction-service.xml
It should be directing to jboss-service.xml instead.
The attribute has to be entered into the file server\default\conf\jboss-service.xml (however, there is a comment regarding oracle):
<!-- The configurable Xid factory. For use with Oracle, set pad to true --> <mbean code="org.jboss.tm.XidFactory" name="jboss:service=XidFactory"> <attribute name="Pad">true</attribute> </mbean>