Configure a socket read timeout for Oracle connections made through the Database Connector to avoid possible connection hangs.
The Oracle Connection type in Database Connector exposes only a limited set of Oracle options (host, port, user, password, instance, etc.), but not arbitrary JDBC URL properties.
Please use the Generic Connection or Data Source Reference Connection to pass the connection propery oracle.jdbc.ReadTimeout (for Oracle driver version 10.1.0.5 or higher) to enable read timeout on socket. The timeout value is in milliseconds.
Example:
<db:generic-connection name="Oracle_Generic_Connection">
<db:generic-config
url="jdbc:oracle:thin:@//YOUR_HOST:1521/YOUR_SERVICE?oracle.jdbc.ReadTimeout=15000"
user="myuser"
password="mypassword"/>
</db:generic-connection>
If you are using an older version, you may need to do the same with another property "oracle.net.READ_TIMEOUT".
001116642

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.