Fix for TOAS-228: "BAS: Tomcat shutdown.sh and startup.sh scripts fail"