[omniORB] Does omniORB2 support object migration? Or is this the work of a separate service?
James M. Moe
Thu, 17 Jun 1999 15:31:53 -0700 (MST)
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.
>Would the Naming Service be aware that an object that it had bound has
>perished, and would it somehow provide an updated IOR to the ORB?
No. It is the responsibility of the server object to manage its
name space. If it can do a clean shutdown, one chore should be the
removal of its IOR from the Naming Service. At startup any existing IOR
value is replaced when the object binds to the Naming service.
>Would the ORB runtime know to attempt a retry using the new object reference
>that it invisibly obtained (unknown to the client).
No. It only raises a COMM_FAILURE.