Turbine Development Kit

Essentials

Using the TDK with Apache

This document is no longer valid (it is based on tomcat 3.2). Starting with tdk10a TDK is based on tomcat 4.0.

0. Compile mod_jk apache module for your platform (described in mod_jk FAQ in Tomcat documentation) and install it.

1.If you want to use new ajp13 worker add to

$TOMCAT_HOME/conf/server.xml new connector definition:

        <Connector className="org.apache.tomcat.service.PoolTcpConnector">
            <Parameter name="handler"
        value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/>
            <Parameter name="port" value="8009"/>
          </Connector>

2. Edit $TOMCAT_HOME/conf/workers.properties (set Tomcat home, java home and types of workers).

3. Start Tomcat. It'll generate $TOMCAT_HOME/conf/mod_jk.conf-auto on startup.

4. Apache

4.1. Check the directive below in mod_jk.conf-auto

   LoadModule jk_module ...

Point it to the right location of mod_jk you installed at step 0.

4.2. Add to Apache httpd.conf :

Include $TOMCAT_HOME/conf/mod_jk.conf-auto

If you want to make some changes in this file copy it, rename and include instead of mod_jk.conf-auto because the -auto file is auto-generated and will be replaced.

5. That's all. Also read mod_jk FAQ in Tomcat documentation and apache manual on mod_rewrite module. These are available from the Jakarta Tomcat website.



Copyright © 1999-2001, Apache Software Foundation