Weblogic Server takes Long Time to Disable Datasource when Database is Hung
Last updated on FEBRUARY 20, 2018
Applies to:Oracle WebLogic Server - Version 10.3.6 to 188.8.131.52.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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms