Error "javax.transaction.xa.XAException: JDBC driver does not support XA, hence cannot be a participant in two-phase commit"

(Doc ID 2059906.1)

Last updated on SEPTEMBER 18, 2017

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

PROBLEM DESCRIPTION
--------------------
After migrating an EJB application from Weblogic 10.3.0 to WLS 12.1.3, the application fails in different stages depending on the choice of the type of driver:

If non-XA driver (whether Log Last Resource or Emulate Two-Phase Commit is enabled) is used, this error is generated when attempting to assign a Record Number:

 


WHAT IS WORKING
---------------

The application was rebuilt and deployed successfully to the new WLS 12.1.3; also the datasource tests fine.

ENVIRONMENT
------------
WLS 12.1.3
OS: Microsoft Windows x64 (64-bit)
EJB


Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms