we are using 25.0.0.11-Liberty. JDK 17, Spring 6x, mssql-jdbc-12.10.2.jre11.jar jdbc driver
E DSRA0302E: XAException occurred. Error code is: XAER_NOTA (-4). Exception is: The function COMMIT: failed. The status is: -4. Error: "*** SQLJDBC_XA DTC_ERROR Context: xa_commit, state=1, StatusCode:-4 (0xFFFFFFFC) ***"
We already enabled the datasource type as type="javax.sql.XADataSource" in server.xml but observing the above exception.
Is it MANDATORY to enable "Enable XA Transactions" in WindowsComponent Services (MSDTC properties) on the SQL Server machine?Does this apply to: