Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Where configure startup timeout

Thanks Greg but I meant startup timeout, not a connection timeout on a request.

I try to explain better my scenario:
- My webapp implements ServletContextListener and in its contextInitialized method may do some slow operations, it depends...
- I observed that sometimes, the command "service jetty restart" doesn't print OK but prints FAILED, when such event occurs, just for example I can't reach my wsdl url, that is the server has failed to start

The only explanation I found was that there is some startup timeout, so I've asked for it here.

Anyway I'm inveestigating more, thanks for your help and time

Raffaele Gambellis-bounces@xxxxxxxxxxx ha scritto: -----
Per: JETTY user mailing list <jetty-users@xxxxxxxxxxx>
Da: Greg Wilkins 
Inviato da: jetty-users-bounces@xxxxxxxxxxx
Data: 31/08/2017 08.51AM
Oggetto: Re: [jetty-users] Where configure startup timeout


The idletimeout is set in a standard release in the jetty-http.xml configuration file, which in turn is parameterized by the http.mod module, which creates either a start.ini or a start.d/http.ini file that contains the jetty.http.idleTimeout property.  IF you are using modules, find this in the ini file and edit it.

Or you can just add to the command line:

java -jar start.jar jetty.http.idleTimeout=60000

cheers


On 30 August 2017 at 19:16, Raffaele Gambelli <R.Gambelli@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi all,

I'm not finding where configure startup timeout either in a standalone installation or with jetty-maven-plugin in an embedded installation.

What I'm observing is that in the standalone installation the timeout appears to be more or less 30 seconds, while in the embedded installation there is an infinite timeout.

I would like to be able to configure it, thanks in advance and best regards

Raffaele Gambelli


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users



-- 
Greg Wilkins <gregw@xxxxxxxxxxx> CTO http://webtide.com
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top