Identify which part duration TIMEOUT for jdbc:oracle:thin not success connect to RAC DB
Dear Guru
The java program using 19.3.0 jdbc:oracle:thin encounter "java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection" found application server log. (but not found any error from listener.log) The connection string like this (DB is 19.26):
jdbc:oracle:thin:@(DESCRIPTION=(FAILOVER=ON)(CONNECT_TIMEOUT=17)(TRANSPORT_CONNECT_TIMEOUT=8) (ADDRESS_LIST=(LOAD_BALANCE=OFF) (ADDRESS=(PROTOCOL=TCP)(HOST=SCAN-PRIMARY(PORT=1521)) (ADDRESS=(PROTOCOL=TCP)(HOST=SCAN-STANDBY)(PORT=1521)) (ADDRESS=(PROTOCOL = TCP)(HOST = DRHOST)(PORT = 1521))) (CONNECT_DATA=(SERVICE_NAME=xxxSRV)))
As in-doubt the CONNECT_TIME=17 and TRANSPORT_CONNECT_TIME=8 limited to DB connection establish success, follow
"How to Trace the Network Packets Exchanged Between JDBC and the RDBMS (Doc ID1050942.1)" suggests below would produce 'sqlnet trace' like output