startup-using-launcher.bat uses setenv.bat if it finds it. However shutdown-using-launcher.bat always calls setenv.bat even if it did not find it in the local directory, thus reports an error. == code extract == rem %0 must have been found by DOS using the %PATH% so we assume that rem setenv.bat will also be found in the %PATH% call setenv.bat == ends == The same code is to be found in tool-wrapper-using-launcher.bat Whereas catalina.bat (and some other BAT files) use the construct: if exist "%CATALINA_HOME%\bin\setenv.bat" call "%CATALINA_HOME%\bin\setenv.bat" It seems to me that either setenv.bat should be provided, or it should not be required.
setenv.bat shouldn't be provided, as it's optional. So I agree it shouldn't be required.
Fixed on both the Tomcat 5.0 and 5.5 branches. Thanks for pointing this out.