changeset 5557:fd7285e3829b

FLYS backend: Commented out the Hibernate Management Bean statistic because they are not configured corrctly.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 04 Apr 2013 12:27:54 +0200
parents 1951eb4b0716
children b223be96758c
files flys-backend/src/main/java/de/intevation/flys/backend/SessionFactoryProvider.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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() {

http://dive4elements.wald.intevation.org