aspose file tools*
The moose likes Linux / UNIX and the fly likes tomcat startup script under redhat 9 !! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "tomcat startup script under redhat 9 !!" Watch "tomcat startup script under redhat 9 !!" New topic
Author

tomcat startup script under redhat 9 !!

mudassir shahab
Ranch Hand

Joined: Oct 13, 2003
Posts: 54
i have written a tomcat startup script that starts the tomcat server at linux startup..i placed this file in /etc/rc.d/init.d/... this is working file

i gave the same script to my friend and he did the same settings as i did...but the tomcat dosnt start at boot time...the system is unable to read this file from /etc/rc.d/init.d ....Y..???

anybody know this problem ??.
thanx
Craig Jackson
Ranch Hand

Joined: Mar 19, 2002
Posts: 405
I am sure there is a way to do this manually, but can't you go to

Main Menu->System Settings->Servers Settings->Services and then check the tomcat option(if possible) and start/save the settings?
M Beck
Ranch Hand

Joined: Jan 14, 2005
Posts: 323
did your friend remember to:

(or whatever you named the script, in place of "tomcat". because, you did include the "#chkconfig:" line in your script so the SysVInit utilities can manage it, right...?
mudassir shahab
Ranch Hand

Joined: Oct 13, 2003
Posts: 54
thanx beck...u did it !!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat startup script under redhat 9 !!
 
Similar Threads
how to redirect from apache to tomcat..?
Tomcat daemon
XFree86 Error on RedHat 8.0
How to auto start a process when Linux starts or reboot?
how to execute thread on linux web server?