[omniORB] same IOR in omniORB 3.x for multible runs

Duncan Grisby dgrisby@uk.research.att.com
Fri, 22 Feb 2002 11:54:06 +0000


On Wednesday 20 February, Andreas Kuester wrote:

> hopefully i am not of topic in a omniORB2 list but i need badly help:

?!  What makes you think this list is only for omniORB 2?  It's for
all versions of omniORB.

> But now i have a project, where i'm unable to use it and i need, when the
> server starts the same IOR anytime, so that the clients have no trouble to
> find the server back.

You should create a POA with the PERSISTENT policy, and always start
the server on the same port. Look at the example in
src/examples/poa/persistent_objref in the omniORB distribution.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --