We had a production issue where we added some servers, and configured them in workers.properties. However, some web servers didnt have the app servers in the /etc/hosts file. So the host names were not resolvable. We did an apachectl configtest and it passed. Then we did an apachectl graceful And apache died. We figured out the problem, but I think mod_jk should either: 1. Check for host resolution on a configtest -and/or- 2. Not fail to start if a host is not resolvable. Maybe throw an error, but dont kill apache. Here is the error we saw in mod_jk.log (note, the server name not resolvable is "pats") [Tue Nov 24 11:02:43 2009] [20247:3086329600] [error] ajp_validate::jk_ajp_common.c (2526): worker tomcat_a can't resolve tomcat address pats [Tue Nov 24 11:02:43 2009] [20247:3086329600] [error] wc_create_worker::jk_worker.c (163): validate failed for tomcat_a [Tue Nov 24 11:02:43 2009] [20247:3086329600] [error] build_worker_map::jk_worker.c (262): failed to create worker tomcat_a Thanks, Chris
Fixed in the SVN. Since status worker now allows to change the contact address at runtime we can just disable the worker for which address resolution fails. The [ERROR] will be still logged however.
Will be part of 1.2.29.