According to the docs ( http://tomcat.apache.org/tomcat-7.0-doc/RUNNING.txt ) you should set all env vars to $ CATALINA_HOME / bin / setenv.sh
EDIT: For completeness, I think it's worth mentioning that, although this is the recommended way, the docs state that:
By default, the setenv script file is missing. If the script file is provided in both CATALINA_BASE and CATALINA_HOME, CATALINA_BASE is preferred.
If it is missing, you can also search for env vars in:
/etc/tomcat/tomcat[67].conf
(suse) or/etc/default/tomcat[67].conf
(e.g. ubuntu) or/etc/sysconfig/tomcat[67].conf
(rhel, fedora)
source share