tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Pawson <dave.paw...@gmail.com>
Subject Re: jsvc problem with PID
Date Sun, 01 Feb 2009 13:11:38 GMT
2009/2/1 Gregor <rc46fi@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 :-)


regards




-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk

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


Mime
View raw message