Alan, do you know how to set a request timeout in Tomcat ?

If I set connectionTimeout="20000" to the default connector of Tomcat
(standalone mode) , a page with a cfpause or an infinite loop will
continue to running after the connectionTimeout value is reached.

With Jetty, it's easier ?

Thanks.

John

On 6 fév, 20:34, Alan Williamson <[email protected]> wrote:
> this is one of those things that doesn't make a whole lot of sense to
> reproduce as most J2EE servers provide this functionality for you to
> stop long running requests from consuming resources.
>
> The J2EE engine is in a much better position to actually do something
> about it, nuking the thread in question and cleaning up resources.
>
> So it sounds like your inTomcatif you are referring to mod_jk -- look
> at thetomcatsettings/configuration.   Jetty has it in its jetty.xml file.
>
>
>
> Richard Taylor wrote:
> > I see that setting therequesttimeouton a perrequestbasis is not
> > supported in OpenBD, at least via the cfsettings / requesttimeout
> > attribute [1].   Two questions:
>
> > 1. Is there any other way to set thetimeoutfor a particularrequest
> > in OpenBD?  I'm not seeing it and I'm wondering if I'm missing
> > something.
>
> > 2. Is there a way to set this value (a globalrequesttimeout) for all
> > requests coming in?  I see the sessiontimeout in bluedragon.xml but I
> > don't think that's what we're after.   At this point the only way I've
> > found totimeoutrequests is by setting the socket_timeout on our
> > mod_jk setup (or other settings way out "there").  Seems like there
> > would be a way to set this in OpenBD?- Masquer le texte des messages 
> > précédents -
>
> - Afficher le texte des messages précédents -

--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to