Hi,
I'm trying to use the mod_jk connector with Apache 2.0.43 (Win32) and Tomcat 4.1.10. When I add the Include "c:/tomcat/conf/auto/mod_jk.conf" line in the apache httpd.conf file, apache will not start. No sign of an error in the error.log file. I'm stumped...it should work?! Does anyone know what I'm doing wrong?

I configured them as follows:

1.) I downloaded the mod_jk-2.0.43.dll and placed it in the C:\Program Files\Apache Group\Apache2\modules directory

2.) Created workers.properties in the C:\tomcat\conf\jk directory.

# (optional) make this equal to CATALINA_HOME
workers.CATALINA_HOME="C:\tomcat"

# (optional) make this equal to JAVA_HOME
workers.java_home="C:\j2sdk1.4.0_01"

# Windows uses back slashes
ps=\
worker.list=ajp13

# Definition for Ajp13 worker
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13

3.) I added the following to tomcat's server.xml:

After the <Server port="8005" ...> declaration:

<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
modJk="C:\Program Files\Apache Group\Apache2\modules\mod_jk-2.0.43.dll"
jkDebug="info"
workersConfig="C:\tomcat\conf\jk\workers.properties"
jkLog="C:\tomcat\logs\mod_jk.log"/>

<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009" minProcessors="5" maxProcessors="75"
acceptCount="10" debug="0"/>

<!-- Define the default virtual host -->
<Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true">

4.) Added to the end of the apache httpd.conf file:
Include "c:/tomcat/conf/auto/mod_jk.conf"

5.) The contents of C:\tomcat\conf\auto\mod_jk.conf shows:

<IfModule !mod_jk.c>
LoadModule jk_module C:/Program Files/Apache Group/Apache2/modules/mod_jk-1.3.27.dll
</IfModule>

JkWorkersFile "C:/tomcat/conf/jk/workers.properties"
JkLogFile "C:/tomcat/logs/mod_jk.log"

JkLogLevel info


Any help would be much appreciated!
Thanks,
- R


_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to