Re: setenv.sh and CATALINA_BASE

2010-07-20 Thread Rainer Frey
than CATALINA_BASE in order for CATALINA_BASE/bin/setenv.sh to be invoked /at all/ Detecting the right setenv.sh works fine, so I don't care about that. 3. case here is that CATALINA_HOME/bin/setenv.sh is being used, but you want to use CATALINA_BASE/[something] in your generic scripts

Re: setenv.sh and CATALINA_BASE

2010-07-15 Thread Christopher Schultz
understand the source of the confusion, here: 1. you want CATALINA_BASE to be set before CATALINA_HOME/bin/setenv.sh is invoked 2. CATALINA_BASE must be set to something other than CATALINA_BASE in order for CATALINA_BASE/bin/setenv.sh to be invoked /at all/ 3. case here is that CATALINA_HOME/bin

setenv.sh and CATALINA_BASE

2010-07-12 Thread Rainer Frey
Hi, in the default case (just one instance, supplied start scripts), CATALINA_BASE is set to CATALINA_HOME. But this assignment, if [ -z $CATALINA_BASE ] ; then CATALINA_BASE=$CATALINA_HOME fi is done *after* reading setenv.sh. Is this for a specific reason, or just accidently? The reason

Re: setenv.sh and CATALINA_BASE

2010-07-12 Thread André Warnier
Rainer Frey wrote: Hi, in the default case (just one instance, supplied start scripts), CATALINA_BASE is set to CATALINA_HOME. But this assignment, if [ -z $CATALINA_BASE ] ; then CATALINA_BASE=$CATALINA_HOME fi is done *after* reading setenv.sh. Is this for a specific reason, or just

Re: setenv.sh and CATALINA_BASE

2010-07-12 Thread Rainer Frey
fi is done *after* reading setenv.sh. Is this for a specific reason, or just accidently? [reason: using CATALINA_BASE in setenv.sh] To make clear what you mean and what you are asking, can you indicate exactly what version of Tomcat you are talking about, on which platform

Re: setenv.sh and CATALINA_BASE

2010-07-12 Thread André Warnier
=$CATALINA_HOME fi is done *after* reading setenv.sh. Is this for a specific reason, or just accidently? [reason: using CATALINA_BASE in setenv.sh] To make clear what you mean and what you are asking, can you indicate exactly what version of Tomcat you are talking about, on which platform

Re: setenv.sh and CATALINA_BASE

2010-07-12 Thread Rainer Frey
, in catalina.sh if [ -z $CATALINA_BASE ] ; then CATALINA_BASE=$CATALINA_HOME fi is done *after* reading setenv.sh. Is this for a specific reason, or just accidently? [reason: using CATALINA_BASE in setenv.sh] So the question was in order to make sure that we were talking

Re: setenv.sh and CATALINA_BASE

2010-07-12 Thread André Warnier
, in catalina.sh if [ -z $CATALINA_BASE ] ; then CATALINA_BASE=$CATALINA_HOME fi is done *after* reading setenv.sh. Is this for a specific reason, or just accidently? [reason: using CATALINA_BASE in setenv.sh] So the question was in order to make sure that we were talking about one

Re: setenv.sh and CATALINA_BASE

2010-07-12 Thread Konstantin Kolinko
. Is this for a specific reason, or just accidently? I think that in the following lines of http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/bin/catalina.sh?view=markup 120 if [ -r $CATALINA_BASE/bin/setenv.sh ]; then 121 . $CATALINA_BASE/bin/setenv.sh 122 elif [ -r $CATALINA_HOME/bin/setenv.sh

Re: setenv.sh and CATALINA_BASE

2010-07-12 Thread Rainer Frey
=$CATALINA_HOME fi is done *after* reading setenv.sh. Is this for a specific reason, or just accidently? I think that in the following lines of http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/bin/catalina.sh?view=mark up 120 if [ -r $CATALINA_BASE/bin/setenv.sh ]; then 121