Connecting To SCAN Fails With "Failed Testing Datasource Connection". Internal Error: Fetch error message failed! Error in testDSConnection (Doc ID 2250303.1)

Last updated on APRIL 12, 2017

Applies to:

Oracle Application Access Controls Governor - Version 8.6.5 and later
Information in this document applies to any platform.

Symptoms

ENVIRONMENT
============
AACG version GRC-all-8.6.5.6050
JDBC OCI version 11.2.0.3.0
RAC database version 11.2.0.4.0
SCAN listener

AACG datasource set up with default options: selected "Oracle RAC", then filled in the SCAN listener and SID information

PROBLEM
========
When connecting to the database using AACG with JDBC OCI (and whatever adapter AACG may use in conjunction with JDBC), connections fail with:


ERROR [el.Default (self-tuning)'] DataSourceService:790 Error in testDSConnection
java.sql.SQLException: Internal Error: Fetch error message failed!
  at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:830)
  at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:451)
.
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
2017-03-20 14:58:31,528 ERROR [el.Default (self-tuning)'] DataSourceService:743 Failed testing the config
oracle.apps.grc.extensibility.connector.exception.DataSourceConnectionException: Failed testing datasource connection
  at oracle.apps.grc.odisyncconnector.AbstractOdiSyncConnector.testConnection(AbstractOdiSyncConnector.java:295)
  at oracle.apps.grc.dataaccessfacade.impl.DataSourceService.testDSConnection(DataSourceService.java:737)


When testing the same JDBC OCI driver from a standalone Java program outside of AACG, the connection is successful with no errors.
The problem is confined to connections from AACG.

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