forked from ISTI-ansible-roles/ansible-roles
tomcat-multiple-instances: Fix the jmx default port.
This commit is contained in:
parent
7c9477c2e4
commit
f9a531231e
|
@ -26,7 +26,7 @@ JAVA_OPTS="${JAVA_OPTS} {{ item.other_java_opts }}"
|
|||
{% endif %}
|
||||
{% if item.jmx_enabled is defined and item.jmx_enabled %}
|
||||
# JMX settings
|
||||
JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port={{ item.jmx_port | default('tomcat_m_jmx_port') }}"
|
||||
JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port={{ item.jmx_port | default('8186') }}"
|
||||
{% if item.jmx_use_ssl is defined and item.jmx_use_ssl %}
|
||||
JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote.ssl=true"
|
||||
{% else %}
|
||||
|
|
Loading…
Reference in New Issue