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

yashik@veon.com yashik@veon.com
Mon Nov 11 09:26:01 2002


Hello,

     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
but resolve_initial_references("Echo") throws CORBA::SystemException.
When running with   -ORBInitRef Echo=corbaloc::localhost:12345/Echo
-ORBInitRef Echo=corbaloc::localhost:12346/Echo
the first URI is always ignored ( but if the second object exist everything
works just fine )
What I'm doing wrong?

Thank you for your help,
Yakov