tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Rossbach ...@objektpark.de>
Subject Discuss: Why stopped StandardHost send check events?
Date Sat, 03 Jul 2004 05:23:53 GMT
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


Mime
View raw message