DB2 Error Code 0 – Communication link failure: java.io.IOException

In this post, you’ll learn about the DB2 error 0-Communication link failure: java.io.IOException and the reason why you are receiving the error message and how to fix it

How does this Error Message Looks like

0 – Communication link failure: java.io.IOException

Reason for the Error & Solution

The TCP connection underlying the JDBC Connection has been closed, possibly due to a timeout. If using Kodo’s default DataSource, connection testing can be configured via the ConnectionFactoryProperties property.