From 39a7a2f58a81ce5c09416e3017179e16d6881e16 Mon Sep 17 00:00:00 2001 From: ErmiasG Date: Mon, 10 Oct 2022 08:58:30 +0200 Subject: [PATCH] [HOPSWORKS-3282] (#814) --- recipes/default.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/default.rb b/recipes/default.rb index e1ef7b053..c5820c3f2 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -505,7 +505,7 @@ # Enable JMX metrics # https://glassfish.org/docs/5.1.0/administration-guide/monitoring.html - glassfish_asadmin "set-monitoring-configuration --dynamic true --enabled true --amxenabled --jmxlogfrequency 15 --jmxlogfrequencyunit SECONDS --restmonitoringenabled" do + glassfish_asadmin "set-monitoring-configuration --dynamic true --enabled true --amxenabled --jmxlogfrequency 15 --jmxlogfrequencyunit SECONDS" do domain_name domain_name password_file "#{domains_dir}/#{domain_name}_admin_passwd" username username @@ -650,8 +650,8 @@ end end -#Should not be set if not properly configured -glassfish_asadmin "set-metrics-configuration --enabled=false" do +# --securityenabled=true Configured file realm com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm is not supported. +glassfish_asadmin "set-metrics-configuration --enabled=true" do domain_name domain_name password_file "#{domains_dir}/#{domain_name}_admin_passwd" username username