tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Seidl" <smse...@worldnet.att.net>
Subject RE: Auto Start Tomcat
Date Wed, 12 Jun 2002 01:29:58 GMT
I have made the following entries in my '/etc/rc.local' file/script.
This file/script is read on boot and will execute the commands listed.

JAVA_HOME='/usr/java/j2sdk1.4.0/'
export JAVA_HOME
echo "Starting Tomcat"
sh /usr/src/jakarta-tomcat-4.0.3-src/dist/bin/catalina.sh start
-security

sleep 5

This was used to start Tomcat 4.0.3.  JAVA_HOME has to be set before
Tomcat is started, otherwise errors are thrown.  Also, I added to sleep
to verify tomcat started.

Scott

-----Original Message-----
From: Wynn Ricks [mailto:wynn@viva-telecom.com] 
Sent: Tuesday, June 11, 2002 6:57 AM
To: Tomcat Users List (E-mail)
Subject: Auto Start Tomcat

Can anybody out there please tell me how to AutoStart Tomcat in the
background on a RedHat Linux box without having to log in and start the
service manually?

Thanks for any help in advance


--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>




--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message