Michiel Meeuwissen heeft op woensdag, 3 sep 2003 om 20:11 (Europe/Amsterdam) het volgende geschreven:
Erik Visser <[EMAIL PROTECTED]> wrote:can you give me a clue on what the problem is?
IIRC, it has to to with improper termination of threads.
I use the following shell script on my Mac OS X system. I copied it from a Debian box (see somewhere in the commented lines). Maybe - with some adaption - it can be of some help on yours.
---Andr�
#! /bin/sh
#
# Start and stop Tomcat 4 with MMBase
#
export CATALINA_HOME=/X/Applications/jakarta-tomcat-4.1.12
# export CATALINA_OPTS='-Dmmbase.config=/X/Applications/jakarta-tomcat-4.1.12/ webapps/ROOT/WEB-INF/config'
# -Dmmbase.htmlroot=/Users/andre/Applications/jakarta-tomcat-4.0.3/ webapps/ROOT'
# -Dmmbase.home=/Users/andre/Applications/jakarta-tomcat-4.0.3/ webapps/ROOT/WEB-INF/lib'
export JAVA_HOME=/usr
# export JAVA_OPTS='-Dfile.encoding="UTF-8"'
case "$1" in
'start')
# Nu met Orion op Debian Linux
# java -server -Xms256M -Xmx256M -Dfile.encoding="ISO-8859-1" -Duser.timezone=ECT -Dmmbase.config=default-web-app/WEB-INF/config -jar orion.jar &
# ps -ef | grep -v grep | grep $$ | grep file.encoding | grep java | awk {'print $2'} > $APP_HOME/mmbase.pid
echo "Starting Tomcat 4.1.12"
cd $CATALINA_HOME/bin
./startup.sh
ps -e | grep -v grep | grep java | grep $ | awk {'print $1'} > tomcat.pid
echo "Tomcat 4.1.12 started with PID `cat tomcat.pid`"
;;
'stop')
echo "Stopping Tomcat 4.1.12 with PID `cat tomcat.pid`"
cd $CATALINA_HOME/bin
./shutdown.sh
kill `cat tomcat.pid` ;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
------------------------------------------->><<--------- Andr� van Toly http://www.toly.nl 06-27233562
