tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48276] New: If the tomcat server cannot be resolved, apachectl configtest passes, but apachectl graceful fails
Date Tue, 24 Nov 2009 20:28:22 GMT
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: mchyzer@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message