From 56e42aa63a095c99548ec5474800f16340aa9c18 Mon Sep 17 00:00:00 2001 From: Victor LABORIE Date: Tue, 3 Jan 2017 14:51:13 +0100 Subject: [PATCH] tomcat-instance: set JAVA_HOME in env conf file --- tomcat-instance/templates/env.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/tomcat-instance/templates/env.j2 b/tomcat-instance/templates/env.j2 index 89bf5f1f..a2e329c8 100644 --- a/tomcat-instance/templates/env.j2 +++ b/tomcat-instance/templates/env.j2 @@ -2,4 +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_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"