Oracle's JDK does not work well with XA connections when used both inside and outside a JTA transaction. To workaround the problem you can create separate sub-pools for the different contexts using <no-tx-separate-pools/>.
Here are the common uses of Markdown.
Code surrounded in tildes is easier to read
[Red Hat Customer Portal](https://access.redhat.com)