Howdy, As always, if you have corrections/additions/clarifications/modifications to the documentation, I will be happy to review and commit them. Send them at your leisure (to the list so that others may comment, not to me directly). Thanks,
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Guy Rouillier [mailto:[EMAIL PROTECTED] >Sent: Thursday, January 22, 2004 11:47 AM >To: Tomcat Users List >Subject: RE: Starting up a particular configuration > >Shapira, Yoav wrote: >> Howdy, >> Use the -config {pathname} argument to specify a server.xml >> file to use. And please be careful in your wording, as this quote: >> >>> According to RUNNING.txt, "you can pass a >>> "-Dcatalina.base=$CATALINA_BASE" argument when executing the startup >>> command" to run a specified configuration. >> >> is completely out of context or alternatively you completely >> misunderstood it. Setting CATALINA_BASE (different from >> CATALINA_HOME) applies only to multiple instances sharing the >> same base. > >Yoav, thanks for the reply. I am indeed running two instances of Tomcat >from one installation directory. I've created a subdirectory (called >secure) under CATALINA_HOME and created the required directories (work, >conf, temp) there. To run the first instance, I just run startup. To >run the second instance, I tried this: > >startup -Dcatalina.base=C:\\tomcat-jakarta-5.0.16\secure > >and got the message I originally posted ("usage: java >org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [ >-nonaming ] { start | stop }"). That's what I understand RUNNING.txt to >mean when it says "executing the startup command." However, I very well >may be misunderstanding what it says, as I see in catalina.bat that it >uses the following: > >%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% >-Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" >-Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" >-Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% >%ACTION% > >So it looks like the -Dcatalina.base option is used by catalina.bat when >it invokes org.apache.catalina.startup.Bootstrap. I think RUNNING.txt >could be clearer on this, as the end user would never supply this option >if he/she is using the supplied startup scripts/batch files. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
