[omniORB] incoming LOCATE_REQUEST, how to satisfy it

Duncan Grisby dgrisby@uk.research.att.com
Thu, 02 Nov 2000 14:28:51 +0000


On Thursday 2 November, Fabien COUTANT wrote:

> The client has no IOR.  I suspect it uses Orbix' bind/_bind ("MyClass").

Orbix's bind is a proprietary extension to CORBA. It will not work
with omniORB. You could try to second-guess what Orbix is trying to
do, but that isn't very pleasant. Orbix is inventing an object key, in
the hope that it is the correct thing. It isn't.

> I guess from there the client has to find a server-local object
> identification for an object of class MyClass .  That should be the
> purpose of the LOCATE_REQUEST, if I interpret its name correctly; i.e. 
> it's not only to check the object's presence since the client does not
> know yet who the object is.

No. LOCATE_REQUEST simply asks the question "does the object with this
key exist?"  Orbix has made the key up, so omniORB answers "no". If
Orbix was using a valid key extracted from an omniORB IOR, omniORB
would answer "yes".

The only proper solution is to steer clear of proprietary extensions
to CORBA.

Cheers,

Duncan.

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