We are accessing a DB/2 Express database version 8.2 using the DB2 JDBC Driver. In some long running processes, we sometimes get an sql exception "A communication error has been detected".
Using the trace facility of the jdbc driver showed the error code -4499. In the db2 documentation for that error code I only found the following sentence: "A fatal error occurred that resulted in a disconnect.". Not very helpfull.
The complete informations from the trace file are:
[ibm][db2][jcc][Thread:main][SQLException@1ff0dde] java.sql.SQLException
[ibm][db2][jcc][Thread:main][SQLException@1ff0dde] SQL state = null
[ibm][db2][jcc][Thread:main][SQLException@1ff0dde] Error code = -4499
[ibm][db2][jcc][Thread:main][SQLException@1ff0dde] Message = A communication error has been detected. Communication protocol being used: UWReply.fill(). Communication API being used: recvBuff(). Location where the error was detected: ReasonCode=54. Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS DB2ConnectionCorrelator: GA47E424.A30D.01A847092216
[ibm][db2][jcc][Thread:main][SQLException@1ff0dde] Stack trace follows
com.ibm.db2.jcc.a.DisconnectException: A communication error has been detected. Communication protocol being used: UWReply.fill(). Communication API being used: recvBuff(). Location where the error was detected: ReasonCode=54. Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS DB2ConnectionCorrelator: GA47E424.A30D.01A847092216
In addition there is a stacktrace with the first 13 elements been inside the db2 jdbc driver.
Some more environment informations:
Client: Windows 2003 x86 using java 1.5.0
Database: DB2/AIX64, version SQL08025
JDBC Driver: IBM DB2 JDBC Universal Driver version 2.7.58
Does anyone know what can cause that error. Or even better, what can I do to solve that error.
Holger Schlegel