I am getting "JDBC driver does not support XA issue"
Error committing transaction:; nested exception is: javax.transaction.xa.XAException: JDBC driver does not support XA, hence cannot be a participant in two-phase commit.
In the Weblogic Console, go to Services
> Datasources
.
Click on your datasource. Then, click on the Transaction
tab:
Supports Global Transactions
should be already selected.Emulate Two-Phase Commit
.Save this configuration and restart the server.
set the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source. This should work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With