title: running Hibernate 4.3 with JMX (without spring)
body: <p>I'm running a java webapp (wicket 6.13) using Hibernate 4.3 and Guice 1.0</p>
  
  <p>I'm trying to configure Hibernate so that I can access runtime information via the JMX framework.</p>
  
  <p>I'm <em>not</em> using spring, can anyone indicate how I enable the JMX on hibernate 4.3 manually.</p>
  
  <p>I've poked around the JmxService, JmxServiceInitiator, JmxServiceImpl, StandardServiceRegistryImpl </p>
  
  <p>I've also found the following settings in AvailableSettings: </p>
  
  <pre><code>"hibernate.jmx.enabled";
  "hibernate.jmx.usePlatformServer";
  "hibernate.jmx.agentId";
  "hibernate.jmx.defaultDomain";
  "hibernate.jmx.sessionFactoryName";
  </code></pre>
  
  <p>I've added the jmx.enabled true setting to my hibernate.cfg.xml file but this has had no effect.</p>
  
  <p>I'm still not sure how to go about this.</p>
  
  <p>Any help much appreciated</p>