Hi All,
I am using weblogic JDBCConnectionPoolRuntimeMBean (weblogic.management.runtime.JDBCConnectionPoolRuntimeMBean) to get detail status regarding
JDBC connection while running an application on Weblogic.
Using:
Then I used
Using that above code, I get
total number of try that connection pool tries to reconenct database but failed(at the time while database was not available or there is any network problem between application and database.)
Problem, I am facing:
Though the above code works fine, but after database is up and Network problem resolved, I still find the same count for
connBean.getFailuresToReconnectCount(), it is not reset
I want, after database and network issues resolved, this count should be reset to Zero.
I tried to use reset() method, but it does not work.
Please advice.
Thanks in advance.
-Biswajit.