LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-15-2004, 10:51 AM   #1
Limelight
LQ Newbie
 
Registered: Sep 2003
Distribution: RedHat Enterprise WS 2.1
Posts: 4

Rep: Reputation: 0
Question Running Tomcat4 at Boot?


Hello...

I've got RedHat Enterprise WS 2.1 running Apache 1.3.x and Tomcat 4.x. I've got the httpd service starting automatically at boot-time, so my Apache server serves up content without any problem.

But, in order to get my Tomcat4 stuff to work, I need to first go to my tomcat4 directory (in my case, it's /usr/local/tomcat/bin) and then do a sh startup.sh which runs the script that launches Tomcat4.

I've tried putting this startup.sh file inside of my /etc/init.d directory, but when the machine boots up, it seems that Tomcat4 still doesn't launch.

I was thinking that this is because startup.sh is a script file and not an actual program. So, I tried making a symbolic link to the startup.sh file inside the /etc/init.d directory. Making the link worked, but Tomcat4 didn't launch when I restarted the box.

Is there a special way to get a script file to automatically run from within the /etc/init.d directory?

Thanks!!
 
Old 01-15-2004, 11:20 PM   #2
oiswego
LQ Newbie
 
Registered: Aug 2003
Location: New York
Distribution: RH9/Sco
Posts: 8

Rep: Reputation: 0
on my redhat system (9.0), there is a really cool file called /etc/rc.d/rc.local

that i mod to start certain scripts at boot time (vsftpd binary, my firewall, etc).

try putting the line in there and test it out!!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat4 and Apache2 rlkiddjr Linux - Software 2 09-04-2003 12:13 PM
MOD_JK2 with TOMCAT4.1.24-Apache2 awedaylong Linux - Networking 2 07-29-2003 11:18 AM
Tomcat4 installation on RedHat 8.0? mikeshn Linux - Software 5 02-23-2003 10:15 PM
A Linux distro of Tomcat4? JMCraig Linux - Software 1 02-17-2003 05:15 PM
tomcat4 on OpenBSD neo77777 *BSD 1 06-19-2002 02:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration