Re: ORBit2 Name Service problems



Nikolai Smirnov wrote:

>Frank!
>
>Thank you for your answer.
>
>  
>
>>Please attach IOR. Did you call:
>>bash> ior-decode-2 your-IOR-here
>>    
>>
>
>$ orbit-name-server
>IOR:010000002800000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578743a312e300001000000caaedfba5000000001010000290000002f746d702f6f726269742d726f6f742f6f72622d3231323939343932343331333535333632333335000000001800000000000000e56dae14c2c62fdd0100000091675031bb0e8482
>
>$ ./name-resolve-server -ORBInitRef NameService=IOR:010000002800000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578743a312e300001000000caaedfba5000000001010000290000002f746d702f6f726269742d726f6f742f6f72622d3231323939343932343331333535333632333335000000001800000000000000e56dae14c2c62fdd0100000091675031bb0e8482
>Binding service to name: /Examples/NameResolve/Factory
> 
> 
>** ERROR **: binding service failed IDL:omg.org/CORBA/INV_OBJREF:1.0
>aborting...
>Aborted
>$
>  
>
sorry, I should have thought about this before:
-ORBInitRef options has been introduced for ORBit2-2.7.3

http://mail.gnome.org/archives/orbit-list/2003-July/msg00017.html

for the version shipped with Redhat-9.0 the ORBInitRef does not work, 
you need to handle the ior different there:

/* get nameservice IOR from command line  */
char * ior = argv[1];
/* transform IOR into object reference */
nameserv_obj = CORBA_ORB_string_to_object (orb, ior, ev)

Hope this helps,

Cheers, Frank






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