tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: setenv.sh in an individual tomcat catalina base
Date Tue, 09 Nov 2010 13:38:24 GMT
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
View raw message