tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ziggy <zigg...@gmail.com>
Subject Re: setenv.sh in an individual tomcat catalina base
Date Tue, 09 Nov 2010 14:55:19 GMT
I am using Tomcat v5.5

Do you mean that for newer versions of Tomcat, if i want to move some of the
scripts from $CATALINA_HOME/bin to $CATALINA_BASE/bin i will not be able to?


Thanks

On Tue, Nov 9, 2010 at 1:38 PM, Konstantin Kolinko
<knst.kolinko@gmail.com>wrote:

> 2010/11/9 Ziggy <ziggy25@gmail.com>:
> > Are there any side effects to doing this? Can tomcat use both
> > $CATALINA_BASE/bin/ and $CATALINA_HOME/bin during startup?
> >
>
> From catalina.sh:
>
> if [ -r "$CATALINA_BASE"/bin/setenv.sh ]; then
>  . "$CATALINA_BASE"/bin/setenv.sh
> elif [ -r "$CATALINA_HOME"/bin/setenv.sh ]; then
>  . "$CATALINA_HOME"/bin/setenv.sh
> fi
>
> i.e. it takes setenv.sh from $CATALINA_BASE if it exists, otherwise
> from $CATALINA_HOME.
>
> All the other script files are supposed to remain in $CATALINA_HOME/bin.
>
> I am talking about the latest version of those scripts. I do not know
> how old your Tomcat version is. You may look at your catalina.sh for
> yourself.
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message