forked from ISTI-ansible-roles/ansible-roles
The tomcat debug options do not like spaces.
This commit is contained in:
parent
8218c24ab4
commit
54b61f7f28
|
@ -46,7 +46,7 @@ JAVA_OPTS="${JAVA_OPTS} -XX:+DisableAttachMechanism -Dcom.sun.management.jmxremo
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.remote_debugging is defined and item.remote_debugging %}
|
{% if item.remote_debugging is defined and item.remote_debugging %}
|
||||||
# You will be able to use a java debugger on port {{ item.remote_debugging_port }}.
|
# You will be able to use a java debugger on port {{ item.remote_debugging_port }}.
|
||||||
JAVA_OPTS="${JAVA_OPTS} -agentlib:jdwp=transport=dt_socket, address={{ item.remote_debugging_port }}, server=y, suspend=n"
|
JAVA_OPTS="${JAVA_OPTS} -agentlib:jdwp=transport=dt_socket,address={{ item.remote_debugging_port }},server=y,suspend=n"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
# WARNING: This directory will be destroyed and recreated at every startup !
|
# WARNING: This directory will be destroyed and recreated at every startup !
|
||||||
JVM_TMP={{ item.instance_path }}/tmp
|
JVM_TMP={{ item.instance_path }}/tmp
|
||||||
|
|
|
@ -43,7 +43,7 @@ JAVA_OPTS="${JAVA_OPTS} -XX:+DisableAttachMechanism -Dcom.sun.management.jmxremo
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if tomcat_enable_remote_debugging %}
|
{% if tomcat_enable_remote_debugging %}
|
||||||
# You will be able to use a java debugger on port {{ tomcat_remote_debugging_port }}.
|
# You will be able to use a java debugger on port {{ tomcat_remote_debugging_port }}.
|
||||||
JAVA_OPTS="${JAVA_OPTS} -agentlib:jdwp=transport=dt_socket, address={{ tomcat_remote_debugging_port }}, server=y, suspend=n"
|
JAVA_OPTS="${JAVA_OPTS} -agentlib:jdwp=transport=dt_socket,address={{ tomcat_remote_debugging_port }},server=y,suspend=n"
|
||||||
# Obsolete
|
# Obsolete
|
||||||
#JAVA_OPTS="${JAVA_OPTS} -Xdebug -Xrunjdwp:transport=dt_socket,address={{ tomcat_remote_debugging_port }},server=y,suspend=n"
|
#JAVA_OPTS="${JAVA_OPTS} -Xdebug -Xrunjdwp:transport=dt_socket,address={{ tomcat_remote_debugging_port }},server=y,suspend=n"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue