For server shutdown, a quick hack is to create a servlet that loads on
server startup, has an empty init method, no service methods, and a finalize
that does something. finalize will get called when the class instance (of
which there is only one, of course) is garbage collected, which happens to
be right before the JVM terminates ;)
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Christian Sell
> Sent: Sunday, August 13, 2000 14:32
> To: Orion-Interest
> Cc: Orion-Interest
> Subject: Re: posting fourth time but did not got any answer
>
>
> for server startup, the following should do:
>
> 1. specify load-on-startup for your servlet in web.xml
> 2. specify load-on-startup for your web application in web-site.xml
>
> for server shutdown, I have no idea
>
> > Khan Kamran schrieb:
> >
> > Hi all,
> >
> > I want to know how i can run my servlet at orion server startup and
> > shutdown.
> >
> > Pleaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas
> >
> > helllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllp
> >
> > Thanks
> > Kamran
>