• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Unable to reset Reconnect Count in JDBCConnection PoolRuntime MBean

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Biswajit Paria
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
More information:
I am using weblogic v7.0 and applications are deployed in admin server only.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic