>________________________________ > From: "chad.da...@emc.com" <chad.da...@emc.com> >To: users@tomcat.apache.org; its_toas...@yahoo.com >Sent: Wednesday, May 30, 2012 11:46 AM >Subject: RE: using CATALINA_BASE > > >> >I'm following the directions found in the RUNNING.txt file of the >> distribution, version 5.5.35. >> >> First of all, I'm going to assume that you're running a 5.5 version of >> Tomcat, >> since the line you quote is only present in RUNNING.txt from those versions. >> At least it's not present in the latest 6.0 or 7.0 version. >> > >I did specify my tomcat version actually ;) > >AND here's the full paragraph: ><p>In many circumstances, it is desirable to have a single copy of a Tomcat >binary distribution shared among multiple users on the same server. To make >this possible, you can pass a "-Dcatalina.base=$CATALINA_BASE" argument when >executing the startup command (see (2)). In this >"-Dcatalina.base=$CATALINA_BASE" argument, replace $CATALINA_BASE with the >directory that contains the files for your 'personal' Tomcat inAny stance.</p> > >So, yes, I did adulter the argument because it has double quotes in the >original. However, the misleading bit is where it makes it sound as if the >catalina base reference is just a placeholder, i.e. "replace $CATALINA_BASE >with . . . " > >> When I launch multiple Tomcats, I use a shell script similar to the >> following: >> >> #!/bin/bash >> CATALINA_HOME=/some/path/to/my/home/tomcat >> >> # the below is all on one line - sorry for the line wrap ( export >> CATALINA_BASE=/some/path/to/first/catalina_base; >> $CATALINA_HOME/bin/startup.sh ) > >That's about what I came up with. It just seemed to be fighting against the >tide a little bit. But, this all makes it seem like you would never actually >use the -D method because the startup scripts simply read the env variable and >pass the value in as a java sys property anway. Makes me wonder what the >paragraph means by "startup command". The reference "see(2)" doesn't resolve >in the RUNNING.txt text . . . > >Thanks for your help.
Sorry that I missed the version . . . Spring cold - my first in over 4 years :-|. Yep, the string isn't found in the 6.0 or 7.0 versions of RUNNING.txt. I suspect it has something to do with using JVSC and running multiple Tomcat services on Windows, but this is just idle speculation since I don't do that. I'd say a little clean up of RUNNING.txt couldn't hurt, but the 5.5 version of Tomcat is rapidly approaching EOL. just my feverish two cents . . . /mde/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org