In case of customized java_home environment variable in ${CATALINA_BASE}/setenv-local.sh, the superseded value is not taken into account in the initscript (because the setenv* files are not sourced until catalina.sh is called).
This PR aims to be a bit more "fuzzy" in the process id detection.
In case of customized java_home environment variable in
${CATALINA_BASE}/setenv-local.sh
, the superseded value is not taken into account in the initscript (because thesetenv*
files are not sourced untilcatalina.sh
is called).This PR aims to be a bit more "fuzzy" in the process id detection.
Tests: unit tests OK.