Solved

Getting Tomcat 4.0.1 and Apache 1.3.23 talking!

Posted on 2002-03-09
1
177 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
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now