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 <ch...@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
>

Reply via email to