Re: Orbit2 Name Service Problems



Harter Damien wrote:

All,
As I said to Bill, I've a problem with the Orbit2 name service, the same as :
mail.gnome.org/archives/orbit-list/2003-july/msg00049.html.
I tried to run the Name Resolve example under Redhat 9 and 7.2 :
*$orbit-name-server > ~/ior.ref*
*$./name-resolve-server -ORBInitRef NameService=`cat ~/ior.ref`*
*Binding service reference at name service against id: Examples/NameResolve/Service*
** *** ERROR **: failed binding of service ODL:omg.org/CORBA/INV_OBJREF:1.0*
*aborting...*
*abandon*

This error shows up, if and only if you call remote operation with NULL-Object,
please verify operation string_to_object returns valid binary object reference.


My feeling is, the content of ~/ior.ref is not read completely,
please can you change the implementation of *name-resolve-server.c so that it prints read content to terminal,


Regards, Frank

*

I've the same issue if I wrote the name service ior printed by orbit name server instead of `cat ~/ior.ref`.
Here some information that may help :
*$cat ~/.orbitrc*
*ORBIIOPUSock=1*
*ORBIIOPIPv4=1*
*ORBIIOPIPv6=0*
** *$ior-decode-2 `cat ~/ior.ref`*
*Object ID: IDL:omg.org/CosNaming/NamingContext:1.0*
*IOP_TAG_INTERNET_IOP: GIOP 1.0 192.168.....143:35454*
* object_key (24) '00000000d55f34b721a...c3b'*
*$ior-decode `cat ~/ior.ref`*


*Tags known:
TAG_INTERNET_IOP: 0x0
TAG_MULTIPLE_COMPONENTS: 0x1
TAG_ORBIT_SPECIFIC: 0xbadfaeca

Object ID: IDL:omg.org/CosNaming/NamingContext:1.0
Profile count: 1

Profile type: TAG_INTERNET_IOP
Object endian: Little
IIOP version: 1.0
Host: 192.168.202.143
Port: 35454
Object key: "....._4.!.]k.....e..3NL;"*

Thanks for help

Damien



------------------------------------------------------------------------

_______________________________________________
orbit-list mailing list
orbit-list gnome org
http://mail.gnome.org/mailman/listinfo/orbit-list






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