Your assignment to JAVA_OPTS seems to consist of multiple lines. You
need to end all apart from the last with a backslash "\", so that the
shell executing the script understands, that the following lines still
contain content for the variable.
The error doesn't say, that it can't file a config file, it tells us
that the shell tried to execute a file named
-Djava.util.logging.config.file=/export/home/lakshmi/Tomcat/conf/logging.properties
which it couldn't find.
BTW: It's not the original shutdown script, so it's not a bug in Tomcat.
Regards,
Rainer
Lakshmi Venkataraman wrote:
We use Tomcat 5.5.23 on all platforms (Solaris, Linux and Win XP).
On Solaris, I see the following message when Tomcat is shutdown.
./shutdown.sh:
-Djava.util.logging.config.file=/export/home/lakshmi/Tomcat/conf/logging
.properties: not found
Here is an excerpt from the shutdown script:
-- BEGIN EXCERPT -
MAINCLASS=org.apache.catalina.startup.Bootstrap
export MAINCLASS
ACTION=stop
export ACTION
JAVA_OPTS=-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogMana
ger
-Djava.util.logging.config.file="$CATALINA_BASE/conf/logging.properties"
export JAVA_OPTS
LD_LIBRARY_PATH=$CATALINA_HOME/bin:$CATALINA_HOME/libexec:$CATALINA_HOME
/conf:$LD_LIBRARY_PATH
export $LD_LIBRARY_PATH
PATH=$CATALINA_HOME/bin:$INM_HOME/bin:$CATALINA_HOME/conf:$PATH
export $PATH
CLASSPATH includes $CATALINA_HOME/conf/logging.properties
$JAVA_HOME/bin/java $JAVA_OPTS
-Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH"
-Dcatalina.base="$CATALINA_BASE" -Dcatalina.home="$CATALINA_HOME"
-Djava.io.tmpdir="$CATALINA_TMPDIR" $MAINCLASS $ACTION
- END EXCERPT
As you can see, $PATH, $LD_LIBRARY_PATH, $CLASSPATH all point to
$CATALINA_HOME/conf location.
Any clue why the message about logging.properties not being found is
printed?
Thanks
Lakshmi
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]