I have installed the tar version of Tomcat 4.03 and want to incorporate it
in the /etc/init.d start up process.  I took the skeleton script and
modified it for Tomcat.  I can successfully start it manually with the
/etc/init.d/tomcat start command, and stop it with the /etc/init.d/tomcat
stop command.  I placed the appropriate links in rc3.d directory via the
insserv command and the comments in the tomcat start script.  When I
shutdown reboot the system,  the tomcat script runs but tomcat is not
started.  I placed many echoes throughout the script to verify the commands
are being issued but the processes never start.  Has anyone run across this
before?  I have tried the following scenarios in the startup script:

startproc /tomcat/bin/startup.sh

. /tomcat/bin/startup.sh

/tomcat/bin/startup.sh

/tomcat/bin/catalina.sh start

startproc /tomcat/bin/catalina.sh start

each of these worked when I issue the commands manually using
/etc/init.d/tomcat start, but not during reboot time.

I have SuSE Linux running on Intel platforms with the same version of Tomcat
and using the equivalent one to the first one above works fine.
(start_daemon instead of startproc)  So, I am really perplexed as to why it
is not working.

Any help you could give would be greatly appreciated.

Thanks,
Donna Awald

Reply via email to