【发布时间】:2021-07-16 10:33:25
【问题描述】:
我有时会遇到以下异常:
ERROR : 07.16.2021:0709 (05.988) [[]http-nio-8080-exec-4] ShippingSatelliteForm: /addLeadTimeForShippingBakeries.xhtml, user - The bean encountered a non-application exception; nested exception is: ERROR : 07.16.2021:0709 (05.988) [[]http-nio-8080-exec-4] ShippingSatelliteForm: /addLeadTimeForShippingBakeries.xhtml, user - The bean encountered a non-application exception; nested exception is: org.hibernate.exception.JDBCConnectionException: could not execute query
Caused by: com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2030][11211][4.21.29] A communication error occurred during operations on the connection's underlying socket, socket input stream, Caused by: com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2030][11211][4.21.29] A communication error occurred during operations on the connection's underlying socket, socket input stream, or socket output stream. Error location: Reply.fill() - insufficient data (-1). Message: Insufficient data. ERRORCODE=-4499, SQLSTATE=08001
我已经在 Azure Kubernetes 中部署了应用程序,而 DB2 在本地 - 这是由于不同的网络而发生的吗?
【问题讨论】:
-
您的站点需要进行一些调查。在此异常之前检查一次 Db2 服务器诊断。检查 HA 配置详细信息。找一些熟练的问题确定人员来检查配置和诊断。这不是编程,这是故障排除。
-
我正在与网络和 DB2 团队合作,我们找不到任何网络问题,@mao。我们认为这是一个应用问题,需要解决。让我知道需要哪些详细信息?
-
什么是HA配置?为什么使用 db2jcc4.jar 的 GA 版本(而不是 4.25.25 版本)?什么是 Db2 服务器平台(z/os、i 系列、linux/unix/windows)?什么是 Db2 服务器版本? Db2 服务器上的哪些事件与在客户端看到的症状的时间戳相关?
-
您能否向我们展示您的数据源属性(当然是匿名的)。 driver-class-name 和 jdbc-url。