tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alistair Hopkins" <alist...@berthengron.co.uk>
Subject mod_jk help
Date Tue, 14 Nov 2000 12:09:26 GMT
I'm having some trouble getting apache to find a worker.

I have the connector in server.xml, and can see that port 8009 is open using
netstat:

tcp        0      0 *:8009                  *:*                     LISTEN

I have workers.properties configured:

worker.list=local

worker.local.port=8009
worker.local.host=localhost
worker.local.type=ajp13
worker.local.lbfactor=1

I have loaded mod_jk in httpd.conf:

LoadModule    jk_module     /etc/httpd/modules/mod_jk.so  ...
AddModule    mod_jk.c  ...
JkWorkersFile  /home/appserver/tomcat3.2b6/conf/workers.properties
JkLogFile         /home/appserver/tomcat3.2b6/logs/mod_jk.log
JkLogLevel debug

I have done a mapping in my virtual hosts:

JkMount /servlet/* local

But when I try to access servlets I get a 500 error, and in the mod_jk.log I
get:

[jk_worker.c (123)]: Into wc_get_worker_for_name local
[jk_worker.c (127)]: wc_get_worker_for_name, done did not found a worker
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match

What should I try next?  I am restarting apache after tomcat to ensure the
port is clear, but I can see via netstat that it is there and listening.

Help appreciated...

Alistair


Mime
View raw message