Hi Alan, thanks for the response. That makes sense about that functionality coming from the JEE server. Unfortunately in our case we have legacy CFML running in Coldfusion that increases the timeout for certain CFM/CFC operations that may take a really long time. This allows us to just increase it for those components without increasing a global timeout to 30 minutes for everyone, etc.
We're running Apache -> mod_jk -> JBoss 4.2.3. I haven't yet figured out how to configure a reply timeout in JBoss/Tomcat (where the thread will be killed if it goes to long). The closest thing I've found are setting the socket_timeout and reply_timout in mod_jk and timeout in Apache. But those leave the thread running on the back end. After you mentioned Jetty, I found maxIdleTimeOut in Jetty, which is essentially what I'm looking for in Tomcat. Thanks, I hadn't seen that. So as with John below, I'm also curious if anyone knows how to set a "global" reply timeout in JBoss/Tomcat (as opposed to Apache/ mod_jk). We'll have to find another solution for per request timeouts. Thanks, Richard Taylor PIER Systems, Inc. On Feb 6, 11:34 am, 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 in Tomcat if you are referring to mod_jk -- look > at the tomcat settings/configuration. Jetty has it in its jetty.xml file. > > Richard Taylor wrote: > > I see that setting the request timeout on a per request basis is not > > supported in OpenBD, at least via the cfsettings / requesttimeout > > attribute [1]. Two questions: > > > 1. Is there any other way to set the timeout for a particular request > > 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 global request timeout) 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 to timeout requests 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? --~--~---------~--~----~------------~-------~--~----~ 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 !! -~----------~----~----~----~------~----~------~--~---
