tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31511] New: - setenv.bat missing, but required by shutdown-using-launcher
Date Sat, 02 Oct 2004 16:51:18 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31511>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31511

setenv.bat missing, but required by shutdown-using-launcher

           Summary: setenv.bat missing, but required by shutdown-using-
                    launcher
           Product: Tomcat 5
           Version: 5.0.28
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: sebb@apache.org


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.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message