Re: How to have a request timeout ?

2007-11-22 Thread christophe blin
I found the problem: infinite loop of course ! Nevertheless, I think that having a "security" in the servlet container for such (stupid) things could be great Thanks for your help. Chris -- View this message in context: http://www.nabble.com/How-to-have-a-request-timeout---tf4855066.html#a1

Re: How to have a request timeout ?

2007-11-22 Thread christophe blin
Pid-2 wrote: > > Can you elaborate on the reason behind this requirement? > sure ! first some background : 1/ my servlet is a web service (done with spring exporter and xfire if that matters) 2/ the client is not a browser but the PHP SOAP extension 3/ 5 seconds is the example (in real life,

How to have a request timeout ?

2007-11-22 Thread christophe blin
Hi, I'd like to cancel a servlet request if it took more than 5 seconds. ATM, I know this is not possible directly via a tomcat configuration (in fact I found no servlet container with this option). By googling and doing a lot of tries (mainly based on http://marc.info/?l=tomcat-user&m=109463824