tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fredk2 <>
Subject Apache fails to start when .host does not resolve.
Date Tue, 01 Apr 2008 19:35:07 GMT


when you set a load balancer (mod_jk v1.2.26) with 2 workers:
    worker.myWorker.balance_workers=tc1Worker, tc2Worker

and one of the worker's host cannot be resolved:

Then Apache will not start.

- since the other worker is 'good', should'nt we let apache start with a
nice error message informing you that one worker could not resolved (done
today) and jk will disable the worker and let apache start anyway?

- Adding a disable does not fix the issue it seems.  Only removing the
worker from the list does.

The idea is that if DNS fails to resolve a host (some admin mistake) and
Apache was restarted automatically for unrelated reasons, it would fail to
come back online without a manual intervention - editing a configuration
file (which might be a challenge).

Rgds - Fred
View this message in context:
Sent from the Tomcat - User mailing list archive at

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message