[Opensource] graceful shutdown vs. threads

larry hamel expresso at codeguild.com
Wed Jul 10 11:27:14 PDT 2002


if your servlet has threads, there can be problems with shutdown.  destroy() should set stop flags, interrupt, and otherwise stop all threads.

what threads are in Expresso?  the Job handler has thread(s), and I see DelayThread has one (why not just use Thread.sleep() there?).

why does DBConnectionPool implement thread?  it doesn't override run(). 

are all of threads handled properly in destroy()?

larry




More information about the Opensource mailing list