My Oracle Support Banner

Unable To Set TCP Keep-alive In JDBC Driver For 11.2.x (Doc ID 1626197.1)

Last updated on AUGUST 09, 2023

Applies to:

JDBC - Version 11.2.0.3.0 and later
Information in this document applies to any platform.

Symptoms

The use of the CONNECTION_PROPERTY_NET_KEEPALIVE property for the JDBC connection is not working as the documentation states (http://download.oracle.com/otn_hosted_doc/jdeveloper/905/jdbc-javadoc/oracle/jdbc/OracleConnection.html#CONNECTION_PROPERTY_NET_KEEPALIVE).

Based on the documentation the property TCP keep-alive should be set  to "true" to enable TCP keep alive.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
 CONNECTION_PROPERTY_NET_KEEPALIVE
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.