How To Pass oracle.jdbc.ReadTimeout To The JVM With JDBC To Avoid Hangs on SocketRead ?
(Doc ID 1535858.1)
Last updated on AUGUST 29, 2018
Applies to:JDBC - Version 10.2.0.1 to 22.214.171.124.0 [Release 10.2 to 12c]
Information in this document applies to any platform.
System property -Doracle.jdbc.ReadTimeout is set to configure Oracle JDBC driver 10g timeouts to avoid hangs on socketRead when there is database outage or Network problem.
However, it is noticed that it does not take effect as per the thread dump:
<ExecuteThread: '61' for queue: 'wm/crmWorkMgr' has been busy for "736" seconds
working on the request "weblogic.work.ExecuteRequestAdapter@2fcc33", which is more than the configured time (StuckThreadMaxTime) of "6
00" seconds. Stack trace:
instead of expected result:
java.sql.SQLException: Io exception: Socket read timed out
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