You should also use chkconfig to setup your scripts.
Two lines of code are required at the top of your
script to make it work with chkconfig. From here you
can write a shell script which basically mimics
whatever you would normally do at the command prompt.
Use what the previous poster used and
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
>
> 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?
>
This came up a couple of days ago. Scan the archives for the thread
"Automatic start from /etc/rc3.d ???" and you'll find eve
ssage-
From: Wynn Ricks [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 9:19 AM
To: Tomcat Users List
Subject: RE: Auto Start Tomcat
I have heard of it but am new to the Linux world like this is day 5. say
that the box looses power for some reason will CRON start TomCat when the
nnium ChemInformatics
>-Original Message-
>From: Wynn Ricks [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, June 11, 2002 9:19 AM
>To: Tomcat Users List
>Subject: RE: Auto Start Tomcat
>
>I have heard of it but am new to the Linux world like this is day 5.
say
>that the box
From: Wynn Ricks [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 9:19 AM
To: Tomcat Users List
Subject: RE: Auto Start Tomcat
I have heard of it but am new to the Linux world like this is day 5. say
that the box looses power for some reason will CRON start TomCat when the
server is
This is a Linux question, not Tomcat-specific. Try google and search on "linux
startup scripts". Looks like Linux (which I don't know) is like Solaris (which I
sorta know) in that you probably want to link your Tomcat
startup scripts into /etc/rc3.d with the right names.
You don't want cron f
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 9:19 AM
To: Tomcat Users List
Subject: RE: Auto Start Tomcat
I have heard of it but am new to the Linux world like this is day 5. say
that the box looses power for some reason will CRON start TomCat when the
server is done restarting without
: Tuesday, June 11, 2002 7:02 AM
To: Tomcat Users List
Subject: Re: Auto Start Tomcat
Ever heard of cron ?
- Original Message -
From: "Wynn Ricks" <[EMAIL PROTECTED]>
To: "Tomcat Users List (E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 7:57 AM
Subject:
Ever heard of cron ?
- Original Message -
From: "Wynn Ricks" <[EMAIL PROTECTED]>
To: "Tomcat Users List (E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 7:57 AM
Subject: Auto Start Tomcat
Can anybody out there please tell me how to AutoStart Tomcat in the
background on a RedHat
In S.u.S.E. is done with the rc scripts (/etc/rc.d). Tomcat start when the
system starts.
Probably in Redhat it works of the same form.
Try to copy the rc scripts of S.u.S.E to your RedHat.
More information in www.suse.de
-Mensaje original-
De: Wynn Ricks [mailto:[EMAIL PROTECTED]]
Envi
11 matches
Mail list logo