Re: tomcat gracefull shutdown problem

2014-01-14 Thread Ja kub
Thx for reply, Do You think it would be hard to implement it in Tomcat ? It seems to be quite a useful feature. Regards Jakub On Tue, Jan 14, 2014 at 3:26 PM, Daniel Mikusa wrote: > On Jan 13, 2014, at 7:48 PM, Ja kub wrote: > > > I modified conf/context.xml > > I hoped tomcat would wait 60

Re: tomcat gracefull shutdown problem

2014-01-14 Thread Daniel Mikusa
On Jan 13, 2014, at 7:48 PM, Ja kub wrote: > I modified conf/context.xml > I hoped tomcat would wait 60 seconds for request to end. No, it doesn't do this. It does not have an option for "graceful" restart / shutdown like Apache HTTPD. If you want that behavior, you could setup a proxy in f

Re: tomcat gracefull shutdown problem

2014-01-14 Thread Ja kub
even with unloadDelay="6" in conf/context.xml probably Servlet jsp is undeployed before spring servlet, and when spring servlet wants to use it to render jsp - it is already undeployed (and results in : HTTP Status 503 - Servlet jsp is currently unavailable) question is how to make Servlet js

tomcat gracefull shutdown problem

2014-01-13 Thread Ja kub
I modified conf/context.xml I hoped tomcat would wait 60 seconds for request to end. But there are some problems with spring app, I get HTTP Status 503 - Servlet jsp is currently unavailable: I use tomcat 7.42 64 bit on windows 7 steps to reproduce: use app from https://github.com/spring-proje