Apache-Tomcat Connector

Download mod_jk.so from http://tomcat.apache.org. Click on Tomcat Connectors (under "Download" on the left-hand side), and then click JK 1.2 Binary Releases. Under Win32, select jk-1.2.19 and find mod_jk-apache-2.2.3.so. Note: Don’t use mod_jk2. It has been deprecated.

Restart Tomcat by right-clicking on the Apache Tomcat taskbar icon. Select stop service, and then start service. It should create new directories in C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf called "auto" and "jk" with a file "mod_jk.conf" in the auto directory.

For each webapp you want to run, you must add it to the workers2.properties file. For example, if you have a webapp in a folder APACHE_ROOT/htdocs/mywebapp, you need to add the following to the workers2.properties file in C:\Program Files\Apache Group\Apache2\conf.

[uri:/mywebapp/*.jsp]
worker=ajp13:localhost:8009

Alternatively, to configure all requests to go to the Tomcat Webroot directory.