Apache Software Foundation | Jakarta Project | Apache Tomcat
Installation

The actual build mechanism creates the dso files in the build/jk2/${servername} subdirectory of the jakarta-tomcat-connectors/jk. When configure --with-jni is used 2 dso files are created. These files have to be copied in the right location of the web server installation.

Apache 1

Apache 2

In the following example Apache-2.0 is installed in /home/apache20/apache40 and the commands are excuted in the jakarta-tomcat-connectors directory.

Copy the dso files in the modules location:
[user@host] ~ $ cp jk/build/jk2/apache2/mod_jk2.so /home/apache20/apache40/modules
[user@host] ~ $ cp jk/build/jk2/apache2/jkjni.so /home/apache20/apache40/modules
Add mod_jk2 loading in the httpd.conf:
LoadModule jk2_module modules/mod_jk2.so


IIS