[omniORB] Does omniORB2 support object migration? Or is this the work of a separate service?

Duncan Grisby dgrisby@uk.research.att.com
Mon, 21 Jun 1999 09:26:06 +0100


On Thursday 17 June, "James M. Moe" wrote:
> On Wed, 16 Jun 1999 11:41:14 -0500, Devin Venable wrote:
>
> >In instances where a client has and object reference, and the object it
> >refers to dies and then comes back (perhaps the server was rebooted), will
> >the omniORB re-discover the object?  Is this standard ORB behavior or an
> >INPRISE add-on feature?
> 
>     No, omniORB does not automatically re-discover objects. A
> COMM_FAILURE exception is raised if the server has disappeared and
> (possibly) re-started. You can use the exception to trigger a
> re-discovery. That is probably what InPrise does.

This is not quite true. If an object reference has been forwarded from
one server to another, and the second server dies, omniORB throws a
TRANSIENT exception. The default TRANSIENT exception handler
automatically re-tries the invocation on the original server, possibly
to be forwarded again. This means that, although omniORB does not
provide an equivalent of Visibroker's OSAgent, it is reasonably simple
to create your own.

omniORB's proprietary Life Cycle support gives you an interface to
this sort of functionality. Once the POA comes along, there will be a
standard interface to it, through ServantManagers.

Cheers,

Duncan.

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