https://issues.apache.org/bugzilla/show_bug.cgi?id=48276

           Summary: If the tomcat server cannot be resolved, apachectl
                    configtest passes, but apachectl graceful fails
           Product: Tomcat Connectors
           Version: 1.2.28
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_jk
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: mchy...@yahoo.com


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

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to