----- Original Message -----
Sent: Saturday, April 28, 2001 4:35 AM
Subject: Re: Automatic Startup after reboot

Try looing at /etc/rc.d/rc.local.

Isn't rc.local the last config to execute?  If so then it won't work right because tomcat has to start before httpd.  I put it under /etc/rc.d/init.d/httpd before httpd starts.

chuck


 

From: "Dave Simms" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Automatic Startup after reboot
Date: Fri, 27 Apr 2001 18:51:19 -0000
Hey everyone,
I am using tomcat 3.1 on our RedHat 7.0 machine. I am wondering if anyone
knows how to start up tomcat automatically after a reboot. I tryed using a
script, but it didn't work. It didn't give me any errors, but it didn't
start tomcat up. I have to start tomcat up using a different server.xml for
each of my virtual sites. The setup script looks similiar to below:
/usr/local/jakarta-tomcat/bin/startup.sh -f
/usr/local/jakarta-tomcat/conf/server_SITE1.xml
/usr/local/jakarta-tomcat/bin/startup.sh -f
/usr/local/jakarta-tomcat/conf/server_SITE2.xml
...etc. (currently only 3 sites that use tomcat)
The above statements work correctly if ran from a terminal window after
Linux has booted up, so I'm confused as to why they don't work when Linux
boots up. Any help / suggestions are appreciated.
Thanks
Dave
[EMAIL PROTECTED]
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to