more bug with servlet init()?

4/13's maintenance release fixed the bug of servlet being loaded every time
and thus init() being called every time when servlet is auto loaded and
accessed as com.xxx.xxx.servlet

I have been using the maintenance release since then, and it largely fixed
the problem. However, from time to time I noticed that the init() would be
called again without servlet.class file change (ie there is no need to
reload the servlet). The difference from the original bug is that clearly
the serlvet is not reloaded ( I can tell that because I don't see a printout
stating the servlet is loaded), but only init() is called. My initial guess
was that maybe the serlvet was unloaded as a result of being idle for long
time. But then I noticed it could happen not long after the serlvet is
loaded first time. Also my theory does not make sense because it appears
only init() is called, but servlet is not re-loaded ( the servlet would have
to be reloaded in the case that servlet is timed out and unloaded)

Are their conditions that would cause a servlet's init() to get called? Or
is there a subtle bug?

Could someone look into the problem. Thanks.

Xiaolian

Received on Wednesday, 28 April 1999 10:53:18 UTC