How can I use environment/system variables in tomcat server.xml, context.xml, etc configuration files?
I tried to use ${ENV_VAR_NAME}
(both for environment and system variable), ${env.ENV_VAR_NAME}
(for environment variables). And nothing seems to work.
How it's realized in my box.
Bash-script for startup:
In
server.xml
:Take a look at process:
Check ports: