> >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. 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to