Re: problems with remote NameService calls



According to Olivier Andrieu:
> 
>  Fabien Tassin <fta+orbit sofaraway org> [Wed, 9 Jun 2004 15:18:52 +0200]:
>  > Anyone to help me with that ?
> 
> reading ORBit code, I see that ORBit_object_by_corbaloc starts by a
> strcmp with "corbaloc::/". So maybe it doesn't like your corbaloc
> syntax ?

nope, both works.
Otherwise, I'll get 'WARNING **: Option ORBInitRef has invalid object reference'

All those are accepted and behave the same.. ie wrongly

-ORBInitRef NameService=corbaloc::remote_host:remote_port/NameService
-ORBInitRef NameService=corbaloc::/remote_host:remote_port/NameService
-ORBInitRef NameService=corbaloc:://remote_host:remote_port/NameService
-ORBInitRef NameService=corbaloc:iiop:remote_host:remote_port/NameService
-ORBInitRef NameService=corbaloc:iiop:/remote_host:remote_port/NameService
-ORBInitRef NameService=corbaloc:iiop://remote_host:remote_port/NameService

CosNaming_NamingContext_list() talks to remote_host:remote_port
but not CORBA_ORB_resolve_initial_references(). That's my problem.

I've tried all variations of -ORBIIOPIPv4 and -ORBIIOPUNIX, no change.

/Fabien


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]