Solved

Getting Tomcat 4.0.1 and Apache 1.3.23 talking!

Posted on 2002-03-09
1
182 Views
Last Modified: 2010-03-04
I've been banging on this for a LONG TIME, and I seem to be missing something very obvious!  Hopefully someone can point me in the right direction!

I am running Tomcat v4.0.1 and Apache 1.3.23.  Both of these applications run as expected individually, however I cannot get them to work together.  I want users to hit my Apache Webserver, and Tomcat serve up JSP/Servlets through Apache.

I have spent a good time searching online, and have come up with many tutorials on the issue, but I can't get a single one to work.

I've tried mod_webapp.  This is the closest I've gotten to getting it to work.  Unfortunately, it doesn't work at all.  In the logs, I keep getting a "Premature end of packet" error in the log files.  No content is served at all.

I spent a good part of the day looking into mod_jk.  I did everything in the "README.txt", however I cannot figure out how to get the mod_jk.so file out of it!  I've got the appropriate Tomcat jar files, but without mod_jk.so, Apache wont work!

I just can't believe Jakarta wrote all these applications, and didn't write a decent tutorial on how to integrate them!  Every one I find seeems to leave out some vital piece!

Anyone have any ideas?
0
Comment
Question by:thetool721
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
gizmola earned 100 total points
ID: 6858156
Are you using tomcat 4.0?  If so you might want to consider trying mod_webapp as oppossed to mod_jk.

This article might help:
http://www.webmasterbase.com/article/305/44

Also, you seem to be having some issues with the .so files.  Basically, a .so is a shared object library file.  This should be the product of compilation!  Are you making the project and compiling it successfully?  If so, you would want to move that .so into the same location as the other apache .so module files you're using, and enable it appropriately in the apache http.conf file.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question