Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Getting Tomcat 4.0.1 and Apache 1.3.23 talking!

Posted on 2002-03-09
1
Medium Priority
?
200 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 400 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

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 are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month10 days, 16 hours left to enroll

886 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