I have successfully installed and tested Tomcat 4.1 and I am attempting to connect with Apache 1.3. However, this is proving unsuccessful. I have attempted two configurations and I followed the steps in the Apache How To http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html in both cases. Attempt 1 1. The HowTo indicates that there is a default configuration (ie Using Tomcat auto-configure), which does not require a jk configuration and is achieved by the following steps: 1.1 adding the line "Include /var/tomcat3/conf/jk/mod_jk.conf-auto" the Apache httpd.conf file (please note that the line refers to Tomcat3 for those RTFM sticklers) and 1.2 enabling the Apache auto-configuration as described in the Tomcat documentation.
I carried out step 1.1, however, I was unable to uncover the documentation for step 1.2. I started Tomcat, waited for it to start completely and then started Apache. Since Tomcat produces no mod_jk.conf-auto file this attempt failed. As a matter of interest I have a successful implementation of T3.2 and A1.3 and in this case step 1.2 didn't seem to matter. Attempt 2 2. In this config I modified the Appache http.conf file adding the line "LoadModule mod_jk module/mod_jk.dll" The result was, unsuprisingly, the same as the result for attempt 1, but is important with respect to atempt 3. Attempt 3 Since mod_jk did not seem to work I decided to try mod_jk2, dowloaded the http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/bin/win32/mod_jk-2.0.42.dll into ${apache_home}/modules, renamed it mod_jk2.dll and modified the LoadModule entry in httpd.conf and the other jk entries. The result on starting up Apache was the following error message: "Cannot load d:/program files/apache group/apache/modules/mod_jk2.dll into server : (126) The specified module could not be found:" I even renamed mod_jk.dll to mod_jk.dll.bak and mod_jk2.dll to mod_jk.dll ( a filename that gave no error message in attempt 2), but got the same error message. I have read the previous posts with regard to this configuration issue, but none use NT 4.0 ( sensible though that might be) nor seem to address the following questions: 1. Is there a default mod_jk configuration? 2. How can Tomcat 4 be configured to use mod_jk? 3. Why can't Apache load the mod_jk2.dll module? I look forward to your help. Will
