Discussion:
[omniORB] Keep connections alive
Thomas Zumbiehl
2008-12-09 22:06:03 UTC
Permalink
Hi,

I have two servers that should keep the connection alive for as long as both of them are running.
Is there a setting in the ORB parameters that allows connections to be kept opened ?

Thank's

Thomas Zumbiehl
Chef de Projet D?veloppement
BV Associates
http://www.bvassociates.fr <http://www.bvassociates.fr/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20081209/1301be06/attachment.htm
Duncan Grisby
2008-12-12 22:51:58 UTC
Permalink
Post by Thomas Zumbiehl
I have two servers that should keep the connection alive for as long as both
of them are running.
Is there a setting in the ORB parameters that allows connections to be kept
opened ?
Why do you ask? At an application level, connections are transparent in
CORBA.

You can prevent omniORB from closing idle connections by setting
inConScanGranularity or outConScanGranularity to zero, to affect
incoming or outgoing connections respectively.

If you are using bidirectional GIOP, omniORB automatically holds
bidirectional connections open while there are callback object
references present.

Neither of these things will prevent connections being closed by the
operating system because of transient network errors, so you still have
to make your application robust against connection failures.

Cheers,

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Loading...