My Oracle Support Banner

Oracle Client 12.1 JDBC OCI And WebSphere Getting "java.sql.SQLException: Internal Error: Fetch error message failed" Error (Doc ID 2461060.1)

Last updated on SEPTEMBER 24, 2019

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


Oracle  Client is installed on a RHEL 7.4 server. On this same server IBM WebSphere is running and a JDBC datasource is set up to connect to an Oracle database on Exadata.
When setting up the datasource using JDBC Thin, it works fine. However, when trying to set up the datasource to use JDBC Thick (aka OCI). it is failing with the following error message:

[9/12/18 11:22:18:119 EDT] 00000078 DataSourceCon E DSRA8040I: Failed to connect to the DataSource "<NAME>". Encountered java.sql.SQLException: Internal Error: Fetch error message failed! DSRA0010E: SQL State = 99999, Error Code = 17,001
  at oracle.jdbc.driver.T2CConnection.checkError(

Using the 12c Instant Client instead of the full client does not present the problem.




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.