ORA-29532 When Trying To Connect To The Same Database Through Java Class Using The JDBC Driver

(Doc ID 2302061.1)

Last updated on AUGUST 31, 2017

Applies to:

Oracle Database - Standard Edition - Version and later
JDBC - Version and later
Information in this document applies to any platform.


On database, when attempting to run a java stored procedure that connects to the same database, the following error occurs:

ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.Exception: Error occured while executing...java.sql.SQLException:
Error loading driver ...............java.sql.SQLRecoverableException: IO Error:
The Network Adapter could not establish the connection
ORA-06512: at "LMS.PR_A", line 1
ORA-06512: at line 2

The java program used for this test is as follows:




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