library/roles/tomcat-multiple-instances/defaults/main.yml: Fix the java opts variables. The heap was listed twice.

This commit is contained in:
Andrea Dell'Amico 2016-11-16 16:15:43 +01:00
parent ceedd93a0e
commit 7064bc2af4
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ tomcat_m_restart_timeout: 300
# -server -Djava.awt.headless=true are always used. No need to specify them
tomcat_m_java_opts_heap: "-Xms{{ tomcat_m_min_heap_size }} -Xmx{{ tomcat_m_heap_size }}"
tomcat_m_java_opts_permgen: "-XX:MaxPermSize={{ tomcat_m_permgen_size }}"
tomcat_m_java_opts: "{{ tomcat_m_java_opts_heap }} {{ tomcat_m_java_opts_permgen }}"
tomcat_m_java_opts: "{{ tomcat_m_java_opts_permgen }}"
tomcat_m_java_gc_opts: "-XX:+UseConcMarkSweepGC"
# Use "-XX:+UseConcMarkSweepGC" to enable the CMS garbage collector (improved
# response time). If you use that option and you run Tomcat on a machine with