diff --git a/tomcat-multiple-instances/defaults/main.yml b/tomcat-multiple-instances/defaults/main.yml index 09a10e03..d8b6ed6f 100644 --- a/tomcat-multiple-instances/defaults/main.yml +++ b/tomcat-multiple-instances/defaults/main.yml @@ -37,6 +37,7 @@ tomcat_m_webapps_unpack: False tomcat_m_start_instances: True tomcat_m_enable_instances: True tomcat_m_jndi_pool: False +tomcat_m_direct_access: False # JMX and debugging tomcat_m_enable_remote_debugging: False diff --git a/tomcat-multiple-instances/templates/tomcat-server.xml.j2 b/tomcat-multiple-instances/templates/tomcat-server.xml.j2 index ed1b881e..32d71519 100644 --- a/tomcat-multiple-instances/templates/tomcat-server.xml.j2 +++ b/tomcat-multiple-instances/templates/tomcat-server.xml.j2 @@ -105,8 +105,13 @@ Note: The pattern used is equivalent to using pattern="combined" --> {% endif %} diff --git a/tomcat/defaults/main.yml b/tomcat/defaults/main.yml index 98eb0abc..68aa19eb 100644 --- a/tomcat/defaults/main.yml +++ b/tomcat/defaults/main.yml @@ -28,6 +28,7 @@ tomcat_webapps_unpack: False tomcat_ajp_enabled: False tomcat_ajp_port: 8009 tomcat_ajp_address: 127.0.0.1 +tomcat_direct_access: False # There is a bug that kills tomcat after 50 days if the shutdown port is enabled # Disable the shutdown port by default #tomcat_shutdown_port: 8005 diff --git a/tomcat/templates/tomcat-server.xml.j2 b/tomcat/templates/tomcat-server.xml.j2 index ce5556ed..7007299c 100644 --- a/tomcat/templates/tomcat-server.xml.j2 +++ b/tomcat/templates/tomcat-server.xml.j2 @@ -149,8 +149,12 @@ Note: The pattern used is equivalent to using pattern="combined" --> {% endif %}