Getting Tomcat 4.0.1 and Apache 1.3.23 talking!
Posted on 2002-03-09
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?