This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Enable Hibernate statistics MBean on Websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Enable Hibernate statistics MBean on Websphere" Watch "Enable Hibernate statistics MBean on Websphere" New topic
Author

Enable Hibernate statistics MBean on Websphere

Lakshmi Dasari
Ranch Hand

Joined: Mar 03, 2003
Posts: 35
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 !


Lakshmi
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9962
    
163

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.


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Enable Hibernate statistics MBean on Websphere
 
Similar Threads
JMX sample code
Name not found in context "java:".
Struts REquest Processor throws Null Pointer exception
NullPointerException
JMX Requirements (JDK 5.0)