Re: How to trap orion shutdown

2000-07-26 Thread Eric Richardson


Hi Vidur,
I don't know if this will help but Servlet.destroy() should be called
on shutdown of the web container.
Eric :-)
Vidur Dhanda wrote:
Hello,
Is there a way to get a notification when the orion server gets a
shutdown request? My application needs to do some clean-up prior
to
server shutdown.
Thanks,
Vidur





Re: How to trap orion shutdown

2000-07-26 Thread Robert Krueger

At 07:57 26.07.00 , Eric Richardson wrote:
Hi Vidur,
I don't know if this will help but Servlet.destroy() should be called on 
shutdown of the web container.
Eric :-)

and also when the web application is reloaded due to a code change or a 
change in web.xml which is probably not what he wants. Vidur?

regards,

robert

Vidur Dhanda wrote:
Hello,

Is there a way to get a notification when the orion server gets a
shutdown request?  My application needs to do some clean-up prior to
server shutdown.

Thanks,
Vidur

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: How to trap orion shutdown

2000-07-26 Thread Conrad Chan

Furthermore, I have an auto-start java module that will listen for socket connection.  
Every time I redeploy my application. The java module will start again and of course 
will return a 'Address already bind' error.  I defintely need the shutdown 
notification to stop the running instance gracefully before the new instance can be 
started.

Conrad

-Original Message-
From: Vidur Dhanda [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 26, 2000 1:24 PM
To: Orion-Interest
Subject: Re: How to trap orion shutdown


I'm really looking for trapping the shutdown for the EJB container.  I need
to do some clean up for the EJBs.

Thanks,
Vidur
Robert Krueger wrote:

 At 07:57 26.07.00 , Eric Richardson wrote:
 Hi Vidur,
 I don't know if this will help but Servlet.destroy() should be called on
 shutdown of the web container.
 Eric :-)

 and also when the web application is reloaded due to a code change or a
 change in web.xml which is probably not what he wants. Vidur?

 regards,

 robert

 Vidur Dhanda wrote:
 Hello,
 
 Is there a way to get a notification when the orion server gets a
 shutdown request?  My application needs to do some clean-up prior to
 server shutdown.
 
 Thanks,
 Vidur

 (-) Robert Krüger
 (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
 (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
 (-) Tel: 06151 665401, Fax: 06151 665373
 (-) [EMAIL PROTECTED], www.signal7.de

--
Vidur Dhanda
Active Solutions
tel: 617/566-1252
[EMAIL PROTECTED]
www.active-solutions-inc.com