LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-24-2002, 06:26 AM   #1
chuck77
Member
 
Registered: Nov 2001
Location: singapore
Posts: 120

Rep: Reputation: 15
Apache with Tomcat 4.0.3


I need help.

I need to install Apache with Tomcat.

I have Apache 1.3.24 and Tomcat 4.0.3.

What else do i need to install the above ??
How do i install the Apache with Tomcat...can someone guide me ??

Mark
 
Old 04-24-2002, 08:03 AM   #2
jISV
Member
 
Registered: Feb 2002
Location: England
Distribution: MDK8.2
Posts: 128

Rep: Reputation: 15
Have you read the apache documentation on installing with tomcat, and vice versa? It is all outlined there. Once you've actually tried to do what they say, and you still have problems, repost.
 
Old 04-26-2002, 12:14 AM   #3
chuck77
Member
 
Registered: Nov 2001
Location: singapore
Posts: 120

Original Poster
Rep: Reputation: 15
the documentation is for tomcat 3 but i am using tomcat 4.

I've installed Apache 1.3.24.

Must i installed JDK first and then Tomcat 4 ???
 
Old 04-26-2002, 05:30 AM   #4
jISV
Member
 
Registered: Feb 2002
Location: England
Distribution: MDK8.2
Posts: 128

Rep: Reputation: 15
Well, If you are going to write java stuff, I'd suggest you have the jdk.
Since you're using tomcat 4, you should get jdk1.4
Regardless of apache, for the tomcat setup, you'll need to set a JAVA_HOME and CATALINA_HOME environment variables.
You'll want to make sure you have the tomcat source, so you'll need to download the src package as well. This is required because the apache module will come from the tomcat source.
Within the source, there is a src/native/apache directory. Somewhere in there you'll need to get the module out of it and put it in with the rest of the apache modules. I'm at work now, so that's about all I can get off the top of my head.
If you do a bit of a search in linux.org for tomcat/apache I think you'll find an article that will run you through the details.
 
Old 05-02-2002, 09:17 AM   #5
vasah20
LQ Newbie
 
Registered: Oct 2001
Location: c h i c a g o
Distribution: Drake 9 / RH 7.2
Posts: 19

Rep: Reputation: 0
try this from sun:

http://dcb.sun.com/practices/howtos/tomcat_apache.jsp

be warned, though, it sets up tomcat for service on another machine than localhost. (thus the subdomain) If you need to setup on localhost, just replace the (main) ServerName in httpd.conf with localhost, then add the appropriate IfModule statement at the bottom.
 
Old 09-22-2002, 01:59 AM   #6
TomCruise2002
LQ Newbie
 
Registered: Sep 2002
Posts: 12

Rep: Reputation: 0
Installing Tomcat in RedHat Linux

Hi

I am pretty new to Linux.

In an attempt to install TomCat in Linux, I did the following.
1. Download the RPM from the Apache website
2. Installed JSDK and JRE succesfully including setting the environment path variables for these.
2. rpm -ivh <rpm filename>
3. The installation took place successfully but I am not sure where I should place the JAVA_HOME and CATALINA_HOME settings inside. Is it tomcat.conf, .bash_profile ...?
4. I couldn't find startup.sh and shutdown.sh.

Installing in Windows is so much easier. I just needed to include the env variables inside the system information and enter startup.bat and the TomCat page appeared in Internet Explorer.
 
Old 09-22-2002, 02:06 AM   #7
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
the env variables are going into /etc/profile
startup.sh, shutdown.sh are in $TOMCAT_HOME/bin/
 
Old 09-22-2002, 04:57 PM   #8
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,441

Rep: Reputation: 103Reputation: 103
yes, u have to place CATALINA_HOME and JAVA_HOME as an export command in your ~/.bashrc. but it's all documented in the tomcat install files.
like that

export CATALINA_HOME=/usrlocal/tomcat
export JAVA_HOME=/usr/java/j2sdk1.4xx

u might place it in /etc/rc.config too. that should do
cheers, jens

Last edited by j-ray; 09-22-2002 at 05:02 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat 5.5.1 and Apache 2 kpmaddenuk Linux - Software 2 10-30-2004 06:55 AM
Tomcat 5 with Apache twantrd Linux - Software 3 10-18-2004 11:53 PM
Why use Apache with Tomcat rather than just Tomcat itself? davee Linux - Software 1 08-21-2003 10:47 PM
Apache and Tomcat Marcel Linux - General 2 07-11-2001 09:24 AM
Apache,Tomcat prowzen Linux - Software 0 05-09-2001 07:23 PM


All times are GMT -5. The time now is 02:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration