注册

达梦数据库连接超时

泡泡糖 2022/03/16 463 14

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:DM7
【操作系统】:Windows/Linux
【CPU】:intel i7
【问题描述】*:达梦数据库程序运行一段时间后就会自动报异常。
(jdk 是1.8 ,jar包 是 DmJdbcDriver18.jar)
Exception in thread “HikariPool-1 network timeout executor” java.lang.RuntimeException: Set network timeout error
at dm.jdbc.driver.DBError.throwRuntimeException(DBError.java:625)
at dm.jdbc.c.a.setSoTimeout(DBAccess.java:185)
at dm.jdbc.driver.DmdbConnection$4.run(DmdbConnection.java:1251)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketException: Socket is closed
at java.net.Socket.setSoTimeout(Socket.java:1137)
at dm.jdbc.c.a.setSoTimeout(DBAccess.java:180)
… 4 more

回答 0
暂无回答
扫一扫
联系客服