PL/SQL (MOSC)

MOSC Banner

JDBC connection without any response from Oracle database 19c after a long execution query

in PL/SQL (MOSC) 8 commentsAnswered ✓

i have a JAVA program which use JDBC connection to connect Oracle database 19c. The program will execute a stored procedure and it takes around 2 hours to complete. Log in the database show the stored procedure complete the execution after 2 hours. But seems the database and the java program lost the connection. Java program keep waiting for the response from database forever. Until i kill the connection in java program and it show the following error:


java.sql.SQLRecoverableException: IO Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center