References to 'CATALINA_HOME' should be updated to 'catalina.base'
Description
Using the ${CATALINA_HOME} variable works in many circumstances, but using the ${catalina.base} variable works in all (afaik) circumstances.
Tomcat will (always) set the 'catalina.base' variable when it starts up, but the 'CATALINA_HOME' variable is only set if you set it. (And there are many common circumstances where you wouldn't need to set it.)
Also, if your 'catalina.home' and 'catalina.base' values are different – which is uncommon, but can happen – the value we would normally want (in Tomcat speak) is 'catalina.base'.
Using the ${CATALINA_HOME} variable works in many circumstances, but using the ${catalina.base} variable works in all (afaik) circumstances.
Tomcat will (always) set the 'catalina.base' variable when it starts up, but the 'CATALINA_HOME' variable is only set if you set it. (And there are many common circumstances where you wouldn't need to set it.)
Also, if your 'catalina.home' and 'catalina.base' values are different – which is uncommon, but can happen – the value we would normally want (in Tomcat speak) is 'catalina.base'.
Reference:
https://stackoverflow.com/questions/3090398/tomcat-catalina-base-and-catalina-home-variables
https://tomcat.apache.org/tomcat-7.0-doc/introduction.html
This update should also be made to portlets that use CATALINA_HOME (most of them).