Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Getting Tomcat 4.0.1 and Apache 1.3.23 talking!

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

705 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