Troubleshooting
Problem
When running aginst DB2 zOS v10 CM8, an SQL exception with error code -4499 may happen if the setBigDecimal method of PreparedStatement/CallableStatement is used or registerOutParameter method of CallableStatement is used to register a OUT parameter of type java.sql.Types.DECIMAL
Symptom
Following errors can be seen in this case.
Trace file shows something like below:
[6/12/12 18:22:37:923 ] 00000032 logwriter 3 [jcc][t4]
[6/12/12 18:22:38:091 ] 00000032 logwriter 3 [jcc][t4] [time:2012-06-12-18:22:38.091][thread:WebContainer : 1][tracepoint:202] closing non-pooled Transport:
[6/12/12 18:22:38:091 ] 00000032 logwriter 3 [jcc][Connection@1363c8e] DB2 LUWID: GA12011E.B5E0.120612102237.0001
[6/12/12 18:22:38:093 ] 00000032 WSRdbManagedC 1 statementClosed
Notification of statement closed received from the JDBC driver.
WSRdbManagedConnectionImpl@131d9f8
com.ibm.db2.jcc.DB2PooledConnection@1c19983
com.ibm.db2.jcc.a.km@fe5f5d
[6/12/12 18:22:38:093 ] 00000032 WSRdbManagedC 1 statementClosed
Notification of statement closed received from the JDBC driver.
WSRdbManagedConnectionImpl@131d9f8
com.ibm.db2.jcc.DB2PooledConnection@1c19983
com.ibm.db2.jcc.a.lm@67dbc3
[6/12/12 18:22:38:101 ] 00000032 logwriter 3 [jcc] BEGIN TRACE_DIAGNOSTICS
[6/12/12 18:22:38:107 ] 00000032 logwriter 3 [jcc][Thread:WebContainer : 1][SQLException@187a5e9] java.sql.SQLException
[6/12/12 18:22:38:107 ] 00000032 logwriter 3 [jcc][Thread:WebContainer : 1][SQLException@187a5e9] SQL state = 58009
[6/12/12 18:22:38:107 ] 00000032 logwriter 3 [jcc][Thread:WebContainer : 1][SQLException@187a5e9] Error code = -4499
[6/12/12 18:22:38:112 ] 00000032 logwriter 3 [jcc][Thread:WebContainer : 1][SQLException@187a5e9] Message = [jcc][2034][11148][4.3.111] Execution failed due to a distribution protocol error that caused deallocation of the conversation.
[6/12/12 18:22:38:113 ] 00000032 logwriter 3 A DRDA Data Stream Syntax Error was detected. Reason: 0x12. ERRORCODE=-4499, SQLSTATE=58009
[6/12/12 18:22:38:113 ] 00000032 logwriter 3 [jcc][Thread:WebContainer : 1][SQLException@187a5e9] Stack trace follows
[6/12/12 18:22:38:113 ] 00000032 logwriter 3 com.ibm.db2.jcc.a.ho: [jcc][2034][11148][4.3.111] Execution failed due to a distribution protocol error that caused deallocation of the conversation.
[6/12/12 18:22:38:113 ] 00000032 logwriter 3 A DRDA Data Stream Syntax Error was detected. Reason: 0x12. ERRORCODE=-4499, SQLSTATE=58009
Host DB2 server shows something like below:
DSNL032I - DSNLZDJN DRDA EXCEPTION CONDITION IN
REQUEST FROM REQUESTOR LOCATION=::10.18.1.30 FOR THREAD WITH
LUWID=GA12011E.P4ED.120611030144=3665
REASON=00D35B16
ERROR ID=DSNLZSDT002C
IFCID=0191
SEE TRACE RECORD WITH IFCID SEQUENCE NUMBER=00000001
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
30 April 2025
UID
swg21598736