2012/5/31 Christopher Schultz <ch...@christopherschultz.net>:
>
> On 5/30/12 12:40 PM, chad.da...@emc.com wrote:
>> I'm following the directions found in the RUNNING.txt file of the
>> distribution, version 5.5.35.
>>
>> It says:
>>
>> "you can pass a '-Dcatalina.base=$CATALINA_BASE' argument when
>> executing the startup command"
>>
>> This doesn't work for me.  I think I kind of know why but a couple
>> of points of clarification would be useful.
>>
>> 1)   This parameters is a pass through to the JVM correct?  In
>> other words, it means nothing in the startup.sh and catalina.sh
>> scripts.
>>
>> 2)   If the answer to number 1 is true, it seems that catalina.sh's
>> execution of my $CATALINA_BASE/bin/setenv.sh will never get
>> executed . . .
>
> If you have modified any of the startup scripts (except for
> bin/setenv.sh), then undo those modifications. It appears that the
> documentation is a bit confusing: there is no need to specify a
> - -Dcatalina.base parameter anywhere.
>
> Instead, all you have to do is set the CATALINA_BASE environment
> variable at some point before launching the startup script. Note that
> you can't effectively set CATALINA_BASE in your
> CATALINA_BASE/bin/setenv.sh because, well, CATALINA_BASE must already
> be known in order to call it.
>

Confirming the above.

I updated 5.5 docs in r1344535. If we ever do a new 5.5 release it
will be included there.

http://svn.apache.org/viewvc?view=revision&revision=1344535

Best regards,
Konstantin Kolinko

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

Reply via email to