https://bz.apache.org/bugzilla/show_bug.cgi?id=68911
Bug ID: 68911
Summary: Newly introduced ConfigurationSource doesn't respect
environment variables
Product: Tomcat 9
Version: 9.0.x
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
Newly introduced ConfigurationSource doesn't respect environment variables used
for so long to point to tomcat configuration and resources like CATALINA_BASE
and TOMCAT_HOME.
It switches to statically used system property user.dir. If user.dir is empty
ConfigurationSource uses OS provided current dir which is dynamic. Plus
user.dir can be used for other purposes by the system and to change it
IMHO ConfigurationSource should use old environment variables.
First as a backward compatibility
Second as a more static way to set configuration
Third docker images use environment variables instead of system properties to
the processes and moving away of a good practice that was followed for so long
Also note that this applies to tomcat 10.x as well
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]