Environment:
Tomcat 4.0.4
Apache 2.0.43 with SSL
Win 2K – SP3
mod_jk = mod_jk-2.0.42.dll (renamed to mod_jk.dll)
JDK = Sun 1.3.0.

I can run Apache without Tomcat and Apache runs fine.  It serves both http
and https correctly.  I placed the mod_jk.dll in my Apache2/modules
directory.  I added the line “LoadModule jk_module modules/mod_jk.dll” to my
Apache httpd.conf.  I created a workers.properties file for Tomcat (see
below).  I added the “Listener” to my Tomcat server.xml file.  I added
“Include Y:/Tomcat4.0.4/conf/auto/mod_jk.conf” to the vary end of my Apache
httpd.conf file.  When I start Tomcat I get the following messages:
mod_jk location: modules\mod_jk.dll
Make sure it is installed corectly or  set the config location
Using <ApacheConfig modJk="PATH_TO_MOD_JK.SO_OR_DLL" />
Starting service Tomcat-Standalone
Apache Tomcat/4.0.4
Starting service Tomcat-Apache
Apache Tomcat/4.0.4
When I start Apache I receive the following message:
Syntax error on line 174 of D:/Apache2/conf/httpd.conf:
Cannot load D:/Apache2/modules/mod_jk.dll into server: The specified
procedure could not be found.

What am I doing wrong?  The file mod_jk.dll is in the directory specified.
Are the Tomcat messages a problem?  Any help would be greatly appreciated.




workers.properties file content:

workers.apache_log=d:/apache2/logs/
workers.tomcat_home=y:/tomcat4.0.4
workers.java_home=d:/jdk1.3/
ps=/

# Define worker, ajp13
worker.list=worker1

# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=locahost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300

Reply via email to