wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Problem getting tomcat to work with apache on linux 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 » Products » Tomcat
Bookmark "Problem getting tomcat to work with apache on linux" Watch "Problem getting tomcat to work with apache on linux" New topic
Author

Problem getting tomcat to work with apache on linux

TP Baxter
Greenhorn

Joined: Sep 18, 2004
Posts: 1
I know Tomcat works as a standalone server but I would still like to use JSPs on the standard Apache server because I still want to be able to run other scripting languages like PHP and also because I am insane.

I have fedora core 2, apache 2, j2ee 1.4 installed and they all work perfectly fine on their own.

Next I installed the tomcat4.1 rpm and the mod_jk2 rpm for fedora. Now Tomcat, JSPs, and Servlets work fine on its own (port 8080). I want to run JSPs on Apache and that's where my problem is. I would think that the rpms configure everything automatically, but it is not working for me now.

So my question is are there any other configurations needed to make apache and tomcat work together so that I can host jsp pages on apache (port 80) after installing the current rpms that are available through apt-get or yum?

Any help is appreciated. Thanks.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
computer go boom,

Welcome to JavaRanch!

We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.

Thanks Pardner! Hope to see you 'round the Ranch!


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
I don't know if those rpm installations did anything to try to integrate Tomcat with Apache, which I gather is what you're trying to figure out doing.

Perhaps these two documents will shed some light on the configuration steps.
  • Configuring Tomcat and Apache With JK 1.2
  • Tomcat-Apache HOWTO
  •  
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Problem getting tomcat to work with apache on linux
     
    Similar Threads
    CentOS java support and Apache modules
    Why is Fedora 14 64 bit Tomcat from yum install superior to the Tomcat from Apache's website?
    Maven on Linux
    Increasing Disk Partition Size on Linux
    RPM using Ant scripting