Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Enable Hibernate statistics MBean on Websphere

 
Lakshmi Dasari
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anyone tried getting Hibernate sessionFactory Statistics MBean working on Websphere appserver 6.0? If yes, can someone provide the guidelines please. I could create Hibernate as a service in Websphere and initialize hibernate at server startup time, but am unable to find out how to get statistics as an Mbean on Websphere application server. I will post the solution if I manage to do it myself.

Thanks in advance !
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I havent tried it with Websphere, but in JBoss i remember i had deployed a separate MBean to enable Hibernate Statistics. Something like:



Not sure if this will be of any help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic