Hi

I'm trying to setup Apache 2.053 on one machine, and Tomcat 5.028 on another.  
I've put mod_jk.so in my modules directory.  Configured bother the httpd.conf 
and the workers.properties file on the apache machine.

Here are the lines 
httpd.conf
LoadModule jk_module    modules/mod_jk.so
JkWorkersFile                    /httpd/conf/workers.properties
JkLogFile                               /httpd/logs/mod_jk.log
JkLogLevel                              info
JkLogStampFormat                "[%a %b %d %H:%M:%S %Y] "
JkOptions                               +ForwardKeySize +ForwardURICompat 
-ForwardDirectories
JkRequestLogFormat       "%w %V %T"
JkMount  /shopping/*            worker1

worker.properties
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host={tomcat machine hostname} <--- edited for privacy.
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.recycle_timeout=300


The server.xml file is already set to listen on port 8009
    <Connector port="8009"
               enableLookups="false" redirectPort="8443" debug="0"
               protocol="AJP/1.3" />

As far as I know those are the only 2 items you need, but when I try to call 
anything from apache with the context /shopping ie 
http://{host}/shopping/index.jsp it tries to finding /shopping on the apache 
machine.  It's like it hasn't mounted the directory.  Do the web apps have to 
be on the apache machine?  I would like to keep all the Tomcat stuff on that 
machine, and away from the apache box.

The mod_jk.log file has this line in it.
[Tue Mar 15 02:23:33 2005] [info]  jk_handler::mod_jk.c (1883): Could not find 
a worker for worker name=worker1

there is no error in the error_log file
and access_log has this
"GET /shopping/index.jsp HTTP/1.1" 500 648

Am I missing something?


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

Reply via email to