Dave Pawson wrote:
2009/2/1 Gregor <rc4...@googlemail.com>:
are you rumning the startup-script as root?
can u post your startup-script?
rgds
gregor
No. I installed it as a 'normal' user.
Workaround:
case "$1" in
start)
#
# Start Tomcat
#
sh $CATALINA_HOME/bin/startup.sh
;;
stop)
#
# Stop Tomcat
#
sh $CATALINA_HOME/bin/shutdown.sh
tail $CATALINA_HOME/logs/catalina.out
;;
restart)
#
# Restart
#
sh $CATALINA_HOME/bin/shutdown.sh
sh $CATALINA_HOME/bin/startup.sh
;;
*)
echo "Usage tomcat.sh start/stop"
exit 1;;
esac
which is nice to know :-)
Yes, but now you are cheating with respect to your first post.
You are not using jsvc anymore.
And, you are running Tomcat as root, which might be considered insecure.
Which is precisely what jsvc allows you to avoid, in the case where you
want to run Tomcat as a non-root user, but still have it listen on a
port < 1024.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org