SQLRecoverableException: I/O Exception: Connection reset

后端 未结 8 1322
太阳男子
太阳男子 2020-12-07 19:06

Yesterday evening I left the office with a running Java program written by me. It should insert a lot of records into our company database (Oracle) using a JDBC connection.

8条回答
  •  Happy的楠姐
    2020-12-07 20:00

    The error occurs on some RedHat distributions. The only thing you need to do is to run your application with parameter java.security.egd=file:///dev/urandom:

    java -Djava.security.egd=file:///dev/urandom [your command]
    

提交回复
热议问题