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 why I ask is: I want to put some custom config files (specifically: 
jmxremote access and password files) in the conf directory, and setup system 
properties with the path to these files in setenv.sh., but I can't use 
$CATALINA_BASE/conf unconditinally because it is not set at that point by the 
default scripts.

(I don't want to  use $CATALINA_HOME/conf uncontitionally either, as I'll use 
this setenv.sh also in a multi-instance setup).

Rainer


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

Reply via email to