[omniORB] How to create a Persistance Corba server

Duncan Grisby duncan at grisby.org
Fri Nov 19 14:30:15 GMT 2010


On Wed, 2010-11-17 at 20:41 +0800, Mahanta, Dhruba wrote:

> Requirement: Corba server should be persistent so that even if the
> Corba server application restarted, or the computer hosting Corba
> server is rebooted, Corba Client application need not be
> reinitialized.

As well as using a persistent policy POA (which you are, by using the
omniINSPOA), you must pin down the port the server listens on.
Otherwise, the server will listen on a different port chosen by the OS
each time it starts. You need to give an endPoint parameter:

  http://omniorb.sourceforge.net/omni41/omniORB/omniORB008.html#toc42

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --





More information about the omniORB-list mailing list