ORA-29532 When Trying To Connect To The Same Database Through Java Class Using The JDBC Driver
(Doc ID 2302061.1)
Last updated on OCTOBER 17, 2022
Applies to:
Oracle Database Backup Service - Version N/A and laterOracle Database Cloud Service - Version N/A and later
Oracle Database - Standard Edition - Version 12.2.0.1 and later
JDBC - Version 12.2.0.0.0 and later
Oracle Database Cloud Schema Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
On database 12.2.0.1, when attempting to run a java stored procedure that connects to the same database, the following error occurs:
BEGIN
<PROCEDURE NAME>('jdbc:oracle:thin:@<host>:<port>:<sid>','<user>,'<password>');
END;
/
BEGIN
*
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 "<PROCEDURE NAME>", line 1
ORA-06512: at line 2
The java program used for this test is as follows:
Changes
Cause
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
Symptoms |
Changes |
Cause |
Solution |