tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsimranjit singh Kler <simran...@gmail.com>
Subject Re: Request timeout option in HTTP or AJP Connector
Date Fri, 22 Jun 2012 10:35:49 GMT
External system can be jdbc ,soap ,rest or other different type of protocol
.So i dont have that freedom always.

Yes i agree i can do query timeout in Database case,but not in all External
system so i was thinking timeout from connector side.

On Fri, Jun 22, 2012 at 3:41 PM, chris derham <chris@derham.me.uk> wrote:

> >
> >
> > Using tomcat 6.0.29.
> >
> >  i want to know is there any parameter in HTTP\AJP connector  to set
> > request time out(i.e if particular request taking long time to complete
> it
> > should time out after configured timeout value).?
> >
> > My web application communicating to some external system where response
> is
> > very slow for particular queries so i want tomcat to timout those
> requests.
> >
> > How do you communicate with the external system? You say "particular
> queries" so is it jdbc? Can't you set a timeout whatever communication
> mechanism you use to connect to the external system? Then detect the
> timeout in your webapp and respond appropriately
>
> Chris
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message