Skip to content

Commit

Permalink
[HOPSWORKS-3282] (logicalclocks#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErmiasG authored Oct 10, 2022
1 parent 1a687bf commit 39a7a2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 39a7a2f

Please sign in to comment.