Index: src/main/java/org/glassfish/admin/monitor/StatsProviderRegistry.java =================================================================== --- src/main/java/org/glassfish/admin/monitor/StatsProviderRegistry.java (revision 11136) +++ src/main/java/org/glassfish/admin/monitor/StatsProviderRegistry.java (working copy) @@ -82,7 +82,7 @@ if (configLevelStr == null) { // Pick the highest in the configLevels - spInfo.setConfigLevel(defaultConfigLevels[defaultConfigLevels.length-1]); + spInfo.setConfigLevel(defaultConfigLevels[defaultConfigLevels.length-2]); } StatsProviderRegistryElement spre = @@ -245,9 +245,12 @@ public boolean isEnableAllowed(String userConfigLevelStr) { Integer userConfigLevel = StatsProviderRegistry.configLevelsMap.get(userConfigLevelStr.toUpperCase()); - if ((userConfigLevel != null) && (userConfigLevel >= configLevel)) - return true; - return false; + boolean isEnableAllowed = false; + if ((userConfigLevel != null) && (userConfigLevel >= configLevel)) { + isEnableAllowed = true; + } + configLevel = userConfigLevel; + return isEnableAllowed; } public void setParentTreeNodePath(String completePathName) {