[omniORB] persistent object references

Ahlborn, James T (MED) James.Ahlborn at med.ge.com
Mon Aug 23 10:12:58 BST 2004


hey,
i'm trying to get persistent object references working with omniorb and i'm
just wondering how others out there are doing it.  obviously, omniorb does
not have an ImR (although it seems someone posted a simple one a while ago).
The only (partial) solution i've seen so far is forcing a server to use the
same port each time and to use the USERID policy in the POA, which will
cause the orb to generate identical IORs on each run.  however, this suffers
from annoying configuration issues, where each server process needs to be
assiged a unique port number by some config file somewhere.  has anyone out
there come up with a more general solution?  i don't need the full power of
an ImR to start objects on demand, i just want objects to have repeatable
IORs.  is there a good general way to pass out port numbers?  or possibly
force them to be persisted in a log file (i guess that's what the
nameservice and eventservice do)?
thoughts?
-james



More information about the omniORB-list mailing list