Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Client - Server timeout?
Client - Server timeout? [message #1404070] Tue, 29 July 2014 12:32 Go to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
In my current project, some server-side calculations can take long time (connection to third party backend services) and I like to know more about time-out.

* How does the scout communication layer handle time-outs?
* Is there a time-out defined somewhere in the scout client or the scout server?
* Or do we get the time-out defined by the application server (like tomcat)?

It seems to me that when you are in dev mode (using a client stated form the IDE connecting locally to a server hosted on Jetty also started from the IDE) there is no time-out at all. You can install a breakpoint in the server and wait for a very long time.

.
Re: Client - Server timeout? [message #1412097 is a reply to message #1404070] Mon, 25 August 2014 09:32 Go to previous message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
Got following answer:

The connection or read timeout is not explicitly set in the Scout Client. The default implementation from java.net.URLConnection is used (sun.net.www.protocol.http.HttpURLConnection).

The default can be changed with the sun-Network-properties:
-Dsun.net.client.defaultConnectTimeout=5000
-Dsun.net.client.defaultReadTimeout=5000

It is also possible to set those properties in the config.ini file.

Previous Topic:SmartField problem
Next Topic:Multiple outline
Goto Forum:
  


Current Time: Fri Apr 26 09:10:09 GMT 2024

Powered by FUDForum. Page generated in 0.03384 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top