Try creating a xa-datasource via management console for eap an xa-datasource class is added by default.