Well, that's is a problem,

For the Tomcat error;
Did you try to use something like this in your server.xml file
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" 
modJk="/usr/local/apache2/modules/mod_jk.so" />

Recheck the modJK= line for the correct syntax for a windows machine.  I 
hope you installed somewhere without any spaces in the path.  Preferably 
something like "c:/apache2/modules/mod_jk.dll"

For the Apache startup error;
Recheck the LoadModules line in the httpd.conf file for correct syntax, 
and again I hope you installed Apache somewhere without any spaces in the 
name.  That just leads to trouble.  Preferably something like LoadModule jk_module 
modules/mod_jk.dll

BTW I've had no trouble with using jk connectors for 2.0.43 compiled 
against 2.0.42.

rls





"Jim Urban" <[EMAIL PROTECTED]>
10/18/2002 11:01 AM
Please respond to "Tomcat Users List"

 
        To:     "Tomcat-User \(E-mail\)" <[EMAIL PROTECTED]>
        cc: 
        Subject:        Error Loading mod_jk.dll

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




--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to