DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24858>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24858 Bootstrap: command line arguments no more supported before action Summary: Bootstrap: command line arguments no more supported before action Product: Tomcat 5 Version: 5.0.14 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In version 4.x, this was OK: start "Tomcat" "D:\j2sdk1.4.2_01\bin\java" -Djava.endorsed.dirs="..\common\endorsed" -classpath "D:\j2sdk1.4.2_01\lib\tools.jar;..\bin\bootstrap.jar" -Dcatalina.base="D:\psa\Euronet\tomcat4124_base" -Dcatalina.home=".." -Djava.io.tmpdir="D:\psa\Euronet\tomcat4124_base\temp" org.apache.catalina.startup.Bootstrap -debug start In version 5.x, the command is expected as args[0], so "-debug" doesn't mean anything like "start" or "stop" and nothing is done. But in catalina.bat (or .sh) the syntax is still: ... %MAINCLASS% %CMD_LINE_ARGS% %ACTION% In Bootstrap.java "if (arguments[i].equals("-debug"))" is there, but in a init(String[] arguments), and Main() calls another version without the parameter: init(). Main() has a comment "used for testing only", but it is still the way to call the bootstrap in startup.bat/catalina.bat, as specified in RUNNING.txt. If there is another 'official' way to start the server, I have not yet found how to install it as a service (Windows) (only mentioned at jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html) or what are the launcher (xx-with-launcher.bat) and tool-wrapper. Workaround: let's drop the -debug argument for a while. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]