tomcat-instance: possibility to surcharge java path

samba
Victor LABORIE 6 years ago
parent e23edbd5f4
commit eedeab6be2

@ -1,4 +1,5 @@
---
tomcat_instance_java_path: '/usr/lib/jvm/java-7-openjdk-amd64'
tomcat_instance_root: '/srv/tomcat'
tomcat_instance_shutdown: "{{ tomcat_instance_port | int + 1 }}"
tomcat_instance_mps: 256

@ -2,5 +2,5 @@
# Xmx Max memory allocated to instance.
# Xms Allocated memory at startup.
# XX:MaxPermSize Memory allocated to internal objects.
JAVA_HOME="/usr/lib/jvm/java-1.7.0-openjdk-amd64"
JAVA_HOME="{{ tomcat_instance_java_path }}"
JAVA_OPTS="-server -Xmx{{ tomcat_instance_ram }}m -Xms{{ tomcat_instance_ram }}m -XX:MaxPermSize={{ tomcat_instance_mps }}m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -Xverify:none"

Loading…
Cancel
Save