I 'm under redhat 9.0
I do :
rpm -e --nodeps Orbit
rpm -e --nodeps Orbit2
rpm -i Orbit2-2.6...
rpm -i Orbit2-devel-2.6...
rpm -i Orbit-0.5...
rpm -i Orbit-devel-0.5...
unzip orbit-docs.tar.gz
Compile and run echo example : everything ok
Compile name-resolve example : ok
Run name-resolve-server : Still get the same error
./name-resolve-server -ORBInitRef NameService=IOR:010000002800000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578743a312e300002000000caaedfba54000000010100002c0000002f746d702f6f726269742d64686172746572322f6f72622d333534343939303235313038353038363030320000000000180000000000000065bf360eed45d65801000000805b96a123bf5c22000000003800000001010000100000003139322e3136382e3230322e3137340088800000180000000000000065bf360eed45d65801000000805b96a123bf5c22
Binding service reference at name service against id: Examples/NameResolve/Service
** ERROR **: failed binding of service IDL:omg.org/CORBA/INV_OBJREF:1.0
aborting...
Abandon
Don't know what to do now...!
Thanks fro any help
Damien
-------- Message d'origine--------
De: Frank Rehberger [mailto:Frank Rehberger web de]
Date: jeu. 10/06/2004 11:28
À: Harter Damien
Cc: orbit-list gnome org
Objet: Re: RE : Orbit2 Name Service Problems
Harter Damien wrote:
> I updated the name-resolve-server code as you said :
> I had the 3 following lines int he main(), just before
> etk_get_name_service() :
> *printf("IOR String = %s\n", argv[2]) ;*
> *printf("ORB ref = %p\n, global_orb) ;*
> *printf("NS Ref = %p\n", string_to_object(global_orb, argv[2], ev)) ;*
The example had been developed on RH9, testing on Fedora-1 the example
runs fine out of the box, too (as described in README), even with your
~/.orbitrc settings ;)
I did Testing with
ORBit2-2.8.2-1 and
ORBit2-2.10.1
Did you change implementation of name-resolve-server?
Please, can you send me your code?
Regards, Frank