Thanks for the response Yoav.

On Tue, 21 Jan 2003, Shapira, Yoav wrote:

> >[...On re-reading this passage from the servlets spec, I realize that
> >"any threads that are currently running in the service method" is murky
> to
> >me. Is this supposed to be more restrictive than "any threads that have
> >ever been started by the servlet instance (including during init()) and
> >that are still running"?]
>
...
>
> Tomcat handles this in a strictly standards-compliant (which is not to
> say ideal, but which I actually like) way.  Tomcat will exit, i.e. stop
> listening on that port and stop its own threads, properly.  However, the

Just one point of clarification here: Tomcat would "stop its own threads",
my servlet-spawned threads would keep executing, but when they terminate
destroy() on the servlet instance is still guaranteed to be called?


Thanks, Mark


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to