DB2 detects a syntax error in the DRDA data stream: 0x3 ERRORCODE= -4499, SQLSTATE=58009

DB2 reports an error and detects a syntax error in the DRDA data stream Reason: 0x3 ERRORCODE= -4499, SQLSTATE=58009

[16:48:43] RMI TCP Connection(3)-127.0.0.1 ERROR  [] [] [com.alibaba.druid.pool.DruidDataSource] - 
dataSource init errorcom.ibm.db2.jcc.am.DisconnectNonTransientException: 
 [jcc][4][2034]11148][4.26.14] conversation was released due to a distribution protocol error.
thus causing the execution to fail. Cause: 0x3. ERRORCODE= -4499, SQLSTATE=58009
	at com.ibm.db2.jcc.am.b6.a(b6.java:340)
	at com.ibm.db2.jcc.am.b6.a(b6.java:463)
	at com.ibm.db2.jcc.t4.y.j(y.java:1016)
	at com.ibm.db2.jcc.t4.y.c(y.java:472)
	at com.ibm.db2.jcc.t4.y.v(y.java:1219)
	at com.ibm.db2.jcc.t4.z.a(z.java:53)
	at com.ibm.db2.jcc.t4.b.c(b.java:1410)
	at com.ibm.db2.jcc.t4.b.b(b.java:1282)
	at com.ibm.db2.jcc.t4.b.b(b.java:833)
	at com.ibm.db2.jcc.t4.b.a(b.java:804)
	at com.ibm.db2.jcc.t4.b.a(b.java:441)
	at com.ibm.db2.jcc.t4.b.a(b.java:414)
	at com.ibm.db2.jcc.t4.b.<init>(b.java:352)
	at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:233)
	at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:200)
	at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:471)
	at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:113)

Solution:

url ip can not use 127.0.0.1 and localhost; jdbc.url=jdbc:db2://localhost:50000/test ip can be changed to the real ip jdbc.url=jdbc:db2://192.168.xxx.xxx:50000/test

Read More: