getting Tomcat 5.5 daemon/service to startup automatically on bootup?

2005-07-22 Thread Ferindo Middleton Jr
I'm running *Tomcat/5.5.6 on* Fedora Core 4. What is the best way to get 
my Tomcat server to start automatically on bootup. My server does use 
SSL. I have read through the info on setting up tomcat as a daemon under 
Unix at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/setup.html and 
this works after i run the command:


./bin/jsvc -Djava.endorsed.dirs=./common/endorsed -cp ./bin/bootstrap.jar \
   -outfile ./logs/catalina.out -errfile ./logs/catalina.err \
   org.apache.catalina.startup.Bootstrap


but when the computer reboots, no daemon/service  restarts the tomcat 
automatically. How do you get it to start automatically during bootup.


Ferindo

--
Ferindo Middleton
Chief Architect
Sleekcollar.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: getting Tomcat 5.5 daemon/service to startup automatically on bootup?

2005-07-22 Thread Pugalia, Jai P \(JP\)

The following link has information on starting Tomcat as a service on
Linux:

http://www.spaceprogram.com/knowledge/2004/01/starting-tomcat-as-service
-on-linux.html

JP 

-Original Message-
From: Ferindo Middleton Jr [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 22, 2005 4:13 PM
To: tomcat-user@jakarta.apache.org
Subject: getting Tomcat 5.5 daemon/service to startup automatically on
bootup?

I'm running *Tomcat/5.5.6 on* Fedora Core 4. What is the best way to get
my Tomcat server to start automatically on bootup. My server does use
SSL. I have read through the info on setting up tomcat as a daemon under
Unix at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/setup.html and
this works after i run the command:

./bin/jsvc -Djava.endorsed.dirs=./common/endorsed -cp
./bin/bootstrap.jar \
-outfile ./logs/catalina.out -errfile ./logs/catalina.err \
org.apache.catalina.startup.Bootstrap


but when the computer reboots, no daemon/service  restarts the tomcat
automatically. How do you get it to start automatically during bootup.

Ferindo

--
Ferindo Middleton
Chief Architect
Sleekcollar.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: getting Tomcat 5.5 daemon/service to startup automatically on bootup?

2005-07-22 Thread Bill Barker

Ferindo Middleton Jr [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 I'm running *Tomcat/5.5.6 on* Fedora Core 4. What is the best way to get 
 my Tomcat server to start automatically on bootup. My server does use SSL. 
 I have read through the info on setting up tomcat as a daemon under Unix 
 at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/setup.html and this 
 works after i run the command:

 ./bin/jsvc -Djava.endorsed.dirs=./common/endorsed -cp ./bin/bootstrap.jar 
 \
-outfile ./logs/catalina.out -errfile ./logs/catalina.err \
org.apache.catalina.startup.Bootstrap


 but when the computer reboots, no daemon/service  restarts the tomcat 
 automatically. How do you get it to start automatically during bootup.


In the jsvc-src/native directory where you unpacked the jsvc source code 
there is a file called Tomcat5.sh.  Edit that so that it specifies the 
options you want.  Then copy it to /etc/init.d.  Then cd to /etc/rc2.d (or 
rc3.d if you boot to init-level three) do:
  ln -s ../init.d/Tomcat5.sh S75tomcat



 Ferindo

 -- 
 Ferindo Middleton
 Chief Architect
 Sleekcollar.com 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]