Solved

Getting Tomcat 4.0.1 and Apache 1.3.23 talking!

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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

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…
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

632 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