IBM Support

Java application executing long query catches DisconnectRecoverableException, returning ERRORCODE -4499

Troubleshooting


Problem

An attempt to execute a long query from Java appliation is failing with ERRORCODE -4499.

Symptom

com.ibm.db2.jcc.am.DisconnectRecoverableException: [jcc][t4][2034][11148][3.63.75] Execution failed due to a distribution protocol error that caused deallocation of the conversation. A DRDA Data Stream Syntax Error was detected.  Reason: 0x1. ERRORCODE=-4499, SQLSTATE=58009
      com.ibm.db2.jcc.am.fd.a(fd.java:319)
      com.ibm.db2.jcc.am.fd.a(fd.java:368)
      com.ibm.db2.jcc.t4.z.j(z.java:967)
      com.ibm.db2.jcc.t4.z.c(z.java:419)
      com.ibm.db2.jcc.t4.z.r(z.java:1019)
      com.ibm.db2.jcc.t4.cb.a(cb.java:195)
      com.ibm.db2.jcc.t4.cb.b(cb.java:84)
      com.ibm.db2.jcc.t4.q.b(q.java:69)
      com.ibm.db2.jcc.t4.tb.c(tb.java:244)
      com.ibm.db2.jcc.am.zn.mc(zn.java:3338)
      com.ibm.db2.jcc.am.zn.pc(zn.java:3447)
      com.ibm.db2.jcc.am.zn.b(zn.java:4236)
      com.ibm.db2.jcc.am.zn.cc(zn.java:720)
      com.ibm.db2.jcc.am.zn.executeQuery(zn.java:694)

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Programming Interface - JDBC","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.7;9.5;9.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
01 May 2025

UID

swg21589628