Weblogic Server takes Long Time to Disable Datasource when Database is Hung
(Doc ID 2360449.1)
Last updated on FEBRUARY 20, 2018
Applies to:Oracle WebLogic Server - Version 10.3.6 to 126.96.36.199.0
Information in this document applies to any platform.
WLS takes long time to disable datasource when database is hang.
So recovery of the datasource also takes long time.
You can see the following stack in thread dump.
Actually checkHang method takes long time to destroy all connections in connection pool of the datasource.
lock: weblogic.jdbc.common.internal.GenericConnectionPool is big lock to use the datasource. So other threads that use this lock also hang.
thread which try to disable the datasource also waits to release the lock.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!