O/S: HP-UX 11.0
Apache: 1.3.12
Tomcat: 3.1

Anyone have/had the same problem? I can start Tomcat manually just fine, but
not successfully with an init script. It seems that the "java" process
starts initially, but at some point dies. I think that it dies when the init
script exits. We have it running fine with Linux, but it uses a "daemon"
command to make the "java" process a daemon. Any clues?

I use the standard SystemV init script:

case "$1" in
   start)
         echo -n "Starting tomcat: "
         /usr/local/tomcat/bin/startup.sh
         ;;
   stop)
         echo -n "Shutting down tomcat: "
         /usr/local/tomcat/bin/shutdown.sh
         ;;
   *)
         echo "Usage: $0 {start|stop}"
         exit 1
esac

exit 0

Reply via email to