[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:




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

More information about the omniORB-list mailing list