tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Macholling...@aol.com
Subject mod_jk.dll loading for tomcat-apache connection
Date Sun, 15 Sep 2002 02:25:45 GMT
Hey there;
      Apache 1.3.26  and tomcat 4.0.1 run fine independently. I set up the 
mod_jk file in the modules directory of apache....added:
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"      
modJk="c:/Apachegroup/Apache/modules/mod_jk.dll"  jkDebug="info"
workersConfig="c:/Apachegroup/Apache/conf/jk/workers.properties"
 jkLog="c:/Apachegroup/Apache/logs/mod_jk.log" /> 


<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"   
append="true" />

________
that produced a jk_mod config file of

<IfModule !mod_jk.c>
  LoadModule jk_module c:/Apachegroup/Apache/modules/mod_jk.dll
</IfModule>

JkWorkersFile "c:/jakarta-tomcat-4.0.1/conf/jk/workers.properties"
JkLogFile "c:/jakarta-tomcat-4.0.1/logs/mod_jk.log"

JkLogLevel info



<VirtualHost localhost>
    ServerName localhost

    JkMount /examples ajp13
    JkMount /examples/* ajp13

    JkMount /jk ajp13
    JkMount /jk/* ajp13

    JkMount /webdav ajp13
    JkMount /webdav/* ajp13

    JkMount /tomcat-docs ajp13
    JkMount /tomcat-docs/* ajp13

    JkMount /manager ajp13
    JkMount /manager/* ajp13
</VirtualHost>

and set up a workers.properties in the conf/jk file

workers.tomcat_home=c:/jakarta-tomcat-4.0.1
workers.java_home=$(JAVA_HOME)
ps=\
worker.list=ajp13, ajp14
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
worker.ajp14.port=8010
worker.ajp14.host=localhost
worker.ajp14.type=ajp14
worker.ajp14.secretkey=secret
worker.ajp14.credentials=myveryrandomentropy
worker.ajp14.lbfactor=1
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)

jvm.dll
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr

when run apache with include file: Include 
"c:/jakarta-tomcat-4.0.1/conf/auto/mod_jk.conf"

getting the error message

Syntax error on line 4 of c:/jakarta-tomcat-4.0.1/conf/auto/mod_jk.conf:
Cannot load c:/apachegroup/apache/modules/mod_jk.dll into server: (126) The 
spe
ified module could not be found:

any ideas

thanx Mac
 

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


Mime
View raw message