[Dive4elements-commits] [PATCH 1 of 3] FLYS backend: Commented out the Hibernate Management Bean statistic because they are not configured corrctly

Wald Commits scm-commit at wald.intevation.org
Thu Apr 4 15:51:30 CEST 2013


# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1365071274 -7200
# Node ID fd7285e3829bb4ea8beb0efab3a57004302bc1a2
# Parent  1951eb4b0716878f0ed764af57a81a6836a0b354
FLYS backend: Commented out the Hibernate Management Bean statistic because they are not configured corrctly.

diff -r 1951eb4b0716 -r fd7285e3829b flys-backend/src/main/java/de/intevation/flys/backend/SessionFactoryProvider.java
--- a/flys-backend/src/main/java/de/intevation/flys/backend/SessionFactoryProvider.java	Thu Apr 04 12:25:32 2013 +0200
+++ b/flys-backend/src/main/java/de/intevation/flys/backend/SessionFactoryProvider.java	Thu Apr 04 12:27:54 2013 +0200
@@ -78,6 +78,8 @@
 
     public static void registerAsMBean(SessionFactory factory) {
 
+        /* XXX: Commented out till it is configured correctly.
+
         StatisticsService statsMBean = new StatisticsService();
         statsMBean.setSessionFactory(factory);
         statsMBean.setStatisticsEnabled(true);
@@ -102,6 +104,7 @@
         catch (NotCompliantMBeanException ncmbe) {
             log.warn(ncmbe, ncmbe);
         }
+        */
     }
 
     public static Configuration createConfiguration() {


More information about the Dive4elements-commits mailing list