Comment # 2 on bug 1002662 from
(In reply to Adam Jerome from comment #1)
A new version of the patch, sourced "on top of the .conf file to allow
overriding of the values in the config.":

Author: Adam Jerome <adam.jerome@microfocus.com>
Date:   Mon Oct 3 15:01:20 2016 -0600

    Tomas Chvatal approved source location of the setenv.sh patch

diff --git a/tomcat.conf b/tomcat.conf
index 5a742fa..21bfffe 100644
--- a/tomcat.conf
+++ b/tomcat.conf
@@ -10,6 +10,14 @@ CATALINA_HOME="/usr/share/tomcat"
 CATALINA_BASE="/usr/share/tomcat"
 # the temp dir of the instance
 CATALINA_TMPDIR="/var/cache/tomcat/temp"
+
+# Include the optional setenv.sh script.
+# (See section 3.4 of https://tomcat.apache.org/tomcat-8.0-doc/RUNNING.txt)
+if [ -r "$CATALINA_BASE/bin/setenv.sh" ]; then
+   . "$CATALINA_BASE/bin/setenv.sh" 
+elif [ -r "$CATALINA_HOME/bin/setenv.sh" ]; then
+   . "$CATALINA_HOME/bin/setenv.sh" 
+fi

 # You can pass some parameters to java here if you wish to
 #JAVA_OPTS="-Xminf0.1 -Xmaxf0.3


You are receiving this mail because: