What is the timeout interval? Default is 0 (never timeout). Maybe connection takes longer to connect on the failing Db2, due to resource shortage on either end. Is the same JDBC client being used with each of the z/OS Db2 systems (and on same lpar)? Try to use the latest JDBC driver, they are notorious for bugs.
On Thu, Oct 10, 2024 at 6:58 PM Binyamin Dissen < [email protected]> wrote: > I have several DB2 instances on the same mainframe (V12) and am having an > issue with one of them. > > The JDBC silently times out. DB2 is quiet. > > On the working instances I see that DB2 will complain if I specify the > wrong > database, thus the issue does not appear to be configuration. On the > failing > one I get only timeout. > > -DISPLAY DDF provides similar output. > > I can telnet into the DB2 TCPPORT and after entering data DB2 will > complain. > > NETSTAT (PORT shows a connection during the timeout period and that DIST is > listening. > > None of the DB2's appear to have a /service entry, so this appears > unneeded. > > Specifying the SECPROT for the JDBC connection does cause DB2 to complain. > > What obvious thing am I missing? > > -- > Binyamin Dissen <[email protected]> > http://www.dissensoftware.com > > Director, Dissen Software, Bar & Grill - Israel > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
