Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » TCP KeepAlive in Scout Client
icon5.gif  TCP KeepAlive in Scout Client [message #990379] Wed, 12 December 2012 08:49 Go to next message
Christian  Döbele is currently offline Christian DöbeleFriend
Messages: 3
Registered: April 2010
Junior Member
Hi

We are using Scout clients within following network topology:
Client <-> Firewall <-> Application Server (tomcat 6).

We have some imports that are taking quite a while. During those imports the network connection between client and server stays open.

Now we have the case that the firewall between client and server is dropping the network connection after one hour.

Besides eliminating long client side operations (long term strategy), I would like to enable "TCP keep alive" on the client.

What is the best/simplest way to do this (I am looking for keep alive without reusage of existing tcp sessions)?

Thx for your help.
Christian
Re: TCP KeepAlive in Scout Client [message #991310 is a reply to message #990379] Tue, 18 December 2012 13:28 Go to previous message
Adrian MoserFriend
Messages: 67
Registered: March 2011
Member
I do not have a solution, but perhaps this forum thread [1] could help you.
It seems to be more an operating system related issue than a Java/Eclipse Scout issue.

As for Eclipse Scout, I would prefer your "long term strategy".
Create a server job [2] that is started by the client.
Use client notfication [3] to notify the client about the end of the job.

Then you do not have any problems with time outs and the users can continue to use the Scout client while the server job is running (the client is not blocked).

Adrian

[1] Oracle Forum
[2] ServerJob
[3] Client Notification
Previous Topic:Unhandled event loop exception - nlsProject can not be null!
Next Topic:Using same formData on multiple forms
Goto Forum:
  


Current Time: Sat Dec 20 10:35:31 GMT 2014

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

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