I don't believe it. The main reason I don't is that if I look in the logs for
the jse service, I can see that all the livesoftware servlets (the JRun internal
servlets) go through init() and destroy() regardless of whether they received
any requests. Do you have more proof?
Scott Stirling
West Newton, MA
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 17, 2000 11:07 AM
> To: JRun-Talk
> Subject: JRun 2.3 does not call destroy()
>
>
> Hi,
>
> Lately I've noticed something strange about JRun's behaviour: We
> have a servlet configured to preload when JRun starts.
> The servlet has both init() and destroy() methods.
>
> The problem is, the destroy() is only called if there was at least
> one request processed. If JRun is started, and no user requests are
> recieved, when we shut it down, destroy() is not called. init()
> works fine, and so does destroy(), if any request is processed.
>
> Is this a known bug? Or is this intended? Does anyone have a work
> around for such a situation?
>
> Thanks,
> Uri
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.