Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Idle Timeout


Hi all,

Reading in more details the documentation, i found the answer:

"Values in Jetty XML can also be parameterized so that they may be passed from property files or set on the command line. Thus typically the port is set within Jetty XML, but uses the Property element to be customizable:"

Sorry for asking about a really clear subject!

BR


On Fri, Apr 15, 2016 at 9:05 PM, Murilo Habermann Torquato <muriloht@xxxxxxxxxxxxxxxx> wrote:
Hi all,

I'm using Jetty 9.2.13 and i'm facing a frequent timeout problem in my application. At the log files there are many messages like:

java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms

I think that is related to my Jetty's configuration, and looking into my jetty-selector.xml I have this property:

<Set name="idleTimeout">30000</Set>

I have two main questions, that is not so clear at official documentation:

Why some people set the Idle Timeout Property with a different syntax:
<Set name="idleTimeout"><Property name="http.timeout" default="30000"/></Set>

And why some people are saying to user a start.ini file on JETTY_BASE with:
http.timeout=300000


BR,




--
devCoffee Sistemas de Gestão Integrada
http://www.devcoffee.com.br

Murilo H. Torquato  / Diretor Técnico
devCoffee Business Solutions

muriloht@xxxxxxxxxxxxxxxx / (19) 993 247 735

Telefones: 
  (19) 3555 2618 || (19) 3554 4031 || (11) 3522 3038 

Endereço: 
  Rua Paulo Rebessi, 665 - Cidade Jardim
  CEP: 13614-260 - Leme / SP

Facebook Twitter Google Plus




--
devCoffee Sistemas de Gestão Integrada
http://www.devcoffee.com.br

Murilo H. Torquato  / Diretor Técnico
devCoffee Business Solutions

muriloht@xxxxxxxxxxxxxxxx / (19) 993 247 735

Telefones: 
  (19) 3555 2618 || (19) 3554 4031 || (11) 3522 3038 

Endereço: 
  Rua Paulo Rebessi, 665 - Cidade Jardim
  CEP: 13614-260 - Leme / SP

Facebook Twitter Google Plus


Back to the top