Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem getting tomcat to work with apache on linux

 
TP Baxter
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  •  
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic