This is sort of a general question, but I couldn't find any information
on the subject.

In short: should I expect running threads to finish processing their
requests, when I reload an application?

Long story: we use tomcat as an application server, and a request can
take up to several minutes to finish. We would like to be able to reload
the application, and have any running thread finish its work, while new
threads can be spawned using the new versions of the classes.

This seems to mostly work, except that upon reload, all static class
members of old class instances are set to Null! So old requests try to
finish but quickly die as soon as the code tries to access the private
members. New requests are fine, the freshly-loaded classes have their
static members initialized correctly.

Is that expected behavior? I can post a small example that demonstrates
what I'm talking about.

Thanks,

Eric Daniel

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to