Getting 'Failed to obtain/create connection.' error with JDBC JNDI Connection Pool

(Doc ID 1025827.1)

Last updated on APRIL 28, 2017

Applies to:

Oracle Java CAPS - Version 5.1.0 and later
Information in this document applies to any platform.
***Checked for relevance on 19-Nov-2015***

Symptoms

Getting the following errors with JDBC JNDI Connection Pool:
"Failed to obtain/create connection. Reason: javax.transaction.SystemException: Failed to enlist resource class com.sun.gjc.spi.XAResourceImpl: oracle.jdbc.xa.OracleXAException"

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