Using the shutdown-wait-max directive, things change.
 
Whit this line 
    <shutdown-wait-max>120</shutdown-wait-max>
in web.xml the request is completed also after resin is stoped.
 
Andrea Sodomaco

 

Andrea Sodomaco Consulenze Informatiche

Via Giacometti, 4 - 34146 TRIESTE

Tel.: 040 281648 / 338 3565702 - Fax: 040 46069349

www.sodomaco.it <http://www.sodomaco.it/> 

 
 -----Messaggio originale-----
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Per conto di Busch, Steffen
Inviato: lunedì 23 aprile 2007 9.08
A: General Discussion for the Resin application server
Oggetto: Re: [Resin-interest] R: [Fwd: httpd.sh stop]



There is also a configuration directive, how long resin will wait for
requests to finish:
<http://www.caucho.com/resin-3.0/config/webapp.xtp#shutdown-wait-max>
 

-----Urspr√ľngliche Nachricht-----
Von: Andrea Sodomaco [mailto:[EMAIL PROTECTED]
Gesendet: Samstag, 21. April 2007 11:03
An: 'General Discussion for the Resin application server'
Betreff: [Resin-interest] R: [Fwd: httpd.sh stop]


The answer is no.
 
I simply did a test. 
The following jsp does not complete the request if resin is stoped.


begin<br>

<% Thread.sleep(60L*1000L); %>

end



 

Andrea Sodomaco

 

Andrea Sodomaco Consulenze Informatiche

Via Giacometti, 4 - 34146 TRIESTE

Tel.: 040 281648 / 338 3565702 - Fax: 040 46069349

www.sodomaco.it <http://www.sodomaco.it/> 

 



-------- Original Message -------- 
Subject:        [Resin-interest] httpd.sh stop  
Date:   Thu, 19 Apr 2007 00:40:16 -0500 
From:   Martin Crundall  <mailto:[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>     
Reply-To:       General Discussion for the Resin application server
<mailto:resin-interest@caucho.com> <resin-interest@caucho.com>  
To:     General Discussion for the Resin application server
<mailto:resin-interest@caucho.com> <resin-interest@caucho.com>  


when httpd.sh stop is executed (resin 3.0.19) does resin finish dealing

with all pending requests before shutting down?



thanks,



martin







_______________________________________________

resin-interest mailing list

resin-interest@caucho.com

http://maillist.caucho.com/mailman/listinfo/resin-interest





_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to