The tomcat debug options do not like spaces.

This commit is contained in:
Andrea Dell'Amico 2017-10-17 20:14:09 +02:00
parent 8218c24ab4
commit 54b61f7f28
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ JAVA_OPTS="${JAVA_OPTS} -XX:+DisableAttachMechanism -Dcom.sun.management.jmxremo
{% endif %}
{% 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 }}.
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 %}
# WARNING: This directory will be destroyed and recreated at every startup !
JVM_TMP={{ item.instance_path }}/tmp

View File

@ -43,7 +43,7 @@ JAVA_OPTS="${JAVA_OPTS} -XX:+DisableAttachMechanism -Dcom.sun.management.jmxremo
{% endif %}
{% if tomcat_enable_remote_debugging %}
# 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
#JAVA_OPTS="${JAVA_OPTS} -Xdebug -Xrunjdwp:transport=dt_socket,address={{ tomcat_remote_debugging_port }},server=y,suspend=n"
{% endif %}