We have Java application with DB2 as a database. DB2 is on Linux. Today we have got this error CLI0615 while connectiong to DB2 through JDBC.
The strange thing is initially application could connect to DB2 using JDBC but while taking further connections through connection pool we got this error.
Note: when we run this same application on windows (database on linux) we do not get this error.
Hence we serched through the net and got a help as follows:
set QUERYTIMEOUTINTERVAL=0 in db2cli.ini file in common section.