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'.

Reference:

This update should also be made to portlets that use CATALINA_HOME (most of them).

Environment

None

Activity

Show:
Andrew Wills
July 24, 2017, 8:35 PM
Andrew Wills
July 25, 2017, 3:54 PM

merged

Assignee

Unassigned

Reporter

Andrew Wills

Labels

None

Estimated End Date

None

Fix versions

Priority

Major
Configure