SQLRecoverableException: I/O Exception: Connection reset

后端 未结 8 1314
太阳男子
太阳男子 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条回答
  • 2020-12-07 19:57

    Solution
    Change the setup for your application, so you this parameter[-Djava.security.egd=file:/dev/../dev/urandom] next to the java command:

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

    Ref :- https://community.oracle.com/thread/943911

    0 讨论(0)
  • 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]
    
    0 讨论(0)
提交回复
热议问题