JDBC driver errors

This article provides potential solutions to common JDBC driver errors that can occur when connecting to a Db2 for z/OS subsystem.

-4499

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: xxxxxxxxxxx ERRORCODE=-4499, SQLSTATE=08001

If the accompanying message is Message: Connection Reset, and Db2 is correctly configured to receive SSL connections, make sure that the SSL properties are defined in the Db2 connection profile and that the sslConnection parameter is set to true. Commit after each statement Processing continues results

For more information about error code -4499, check out this IBM Support doc.