[omniORB] multiple corbaloc URIs for object available at several locations

Duncan Grisby duncan@grisby.org
Thu Nov 14 16:42:01 2002


On Monday 11 November, yashik@veon.com wrote:

>      The chapter  "4.1.1 corbaloc" of the omniORB 3.0.5 documentation says:
> "You can specify an object which is available at more than one location by
> separating the locations with commas:
>      corbaloc::myhost.example.com,:localhost:1234/MyObjectKey"
> 
> I'm trying to do it with -ORBInitRef:
> -ORBInitRef
> Echo=corbaloc::localhost:12345/Echo,corbaloc::localhost:12346/Echo

You haven't followed the example. That line should be 

  Echo=corbaloc::localhost:12345,:localhost:12346/Echo

However, getting it right won't do you much good since omniORB 3.0.5
only ever contacts the first location specified. omniORB 4.0.0 will
contact them in turn until it finds one that works.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan@grisby.org     --
   -- http://www.grisby.org --