I have figured out how to view hibernate statistics using the built in statistics mbean and monitor via the jdk jconsole. Very nice. Now I would also like to do somethign similar for c3p0 connection pooling. I can configure c3p0 as an mbean under jboss for which c3p0 status then becomes visible via jboss' /jmx-console, but we run hibernate standalone also, so I am looking for a standalone hibernate configuration exposing c3p0 stats visible via jconsole. Is there an out-of-the-box config for this? Thanks, Ben.
|