简体   繁体   中英

JDBC driver does not support XA issue

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.
  • Select 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.

Still you are facing this issue, please restart weblogic server & check.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM