You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Peter Rossbach <pr...@objektpark.de> on 2004/07/03 07:23:53 UTC
Discuss: Why stopped StandardHost send check events?
hey,
I have see that a stopped Host send all 10 sec check events to
all LifecycleListeners.
A stop HostConfig can't reload or deploy new webapp really at a stopped
host.
StandardHost code
public void backgroundProcess() {
lifecycle.fireLifecycleEvent("check", null);
}
better
StandardHost emitted check event only on started host.
public void backgroundProcess() {
if(started)
lifecycle.fireLifecycleEvent("check", null);
}
regards
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org