Do not know really.
But what i know about transactions is that they cannot be nested.
Your transaction is updating multiple resources within the same local transaction. It might cause inconsistent data just as the warning says. You might want to consider using xa-datasource instead of local-tx-datasource.