File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes integrating tomcat 5.5.23 with apache 2.0.59 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "integrating tomcat 5.5.23 with apache 2.0.59 " Watch "integrating tomcat 5.5.23 with apache 2.0.59 " New topic

integrating tomcat 5.5.23 with apache 2.0.59

Dave Landes

Joined: Jan 20, 2007
Posts: 1
I tried following Scott L Holmes "Building a better development environment in 10 easy steps" using Apache 2- Tomcat 5 - mod_jk -XP
after step 10 apache will not start-I can't find his blog to ask him
and the books I have don't seem to be for my set-up.
windows home xp sp2
tomcat 5.5.23
apache 2.0.59 binary
I have no problem with running both tomcat and apache seperately but when
I try to use mod_jk to connect them apache fails to start
copy binary site said to use above mod_jk
with apache 2.0.59) to Apache's modules folder then rename it
edit tomcat's server.xml right above <\engine> add

<Listener className="org.apache.jk.config.ApacheConfig"
modJk="c:/path to/Apache2/modules/" />

restart tomcat and it creates C:/path to tomcat/conf/auto/mod_jk.conf
the following file

<IfModule !mod_jk.c>
LoadModule jk_module "c:/use5/apache/Apache2/modules/"

<VirtualHost localhost>
ServerName localhost

JkMount /host-manager ajp13
JkMount /host-manager/* ajp13

JkMount /tomcat-docs ajp13
JkMount /tomcat-docs/* ajp13

JkMount /manager ajp13
JkMount /manager/* ajp13

edit Apache's conf by adding to the bottom of file
Include c:/path to tomcat/conf/auto/mod_jk.conf
restart Apache
Thanks for any help
Dave Landes
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24189


Welcome to JavaRanch!

We've got a Tomcat forum, where this really belongs. I'll move it there for you.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: integrating tomcat 5.5.23 with apache 2.0.59