Reputation: 279
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.
Upvotes: 7
Views: 14607
Reputation: 1463
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.
Upvotes: 3
Reputation: 1
Still you are facing this issue, please restart weblogic server & check.
Upvotes: -1
Reputation: 2348
set the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source. This should work.
Upvotes: 2