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
.
For more information about error code -4499, check out this IBM Support doc.
Problems with connecting to a database
When you attempt to connect to a Db2 for z/OS database for the first time and it’s running on Db2 13 function level 100, one of the following errors might be issued:
If you fail to connect to your database the first time because of one of these errors, attempt to reconnect.
Similarly, when you attempt to connect using a profile with invalid credentials, the following error is issued:
If you encountered this error because of invalid credentials, enter a valid user ID and password, and attempt to reconnect.