0

Java program intermittently fails with below

java.sql.SQLRecoverableException: I/O Exception: Connection reset

I am using Oracle database and using jdbc connection. I have tried adding java.security.egd and securerandom jvm options while running the program but it still fails sometimes if it is kept running for a long time.

I was referring to below stack overflow answers: SQLRecoverableException: I/O Exception: Connection reset

Oracle JDBC intermittent Connection Issue

I also tried printing securerandom source

System.out.println("secure random" + Security.getProperty("securerandom.source"));

Result:
file:///dev/urandom

What other issues can lead to Connection reset?

0 Answers0