omniORB's NamingService

Jörg Narr jnarr@Comsys.DoFN.DE
Wed, 20 Aug 1997 09:54:20 +0200


Hi!

I'm quite new to CORBA and I'm actually busy implementing a
client-server application. Since my objects are required to be server or
client at a time I'm not sure how to implement this.

I did the following: I bound the server with a special name like aaa*
where * is a unique number to a NamingContext. Before this 
I look up the context for other servers with aaa and a unique number to
retrieve their IOR's respectively their object implementation.
Unfortunately I often got stringified IOR's I couldn't find in the
omninames*.log file (with grep) and so calls to the retrieved 
objects failed. My question now is: Can anybody tell me what the numbers
IOR:*1 <ID> <KIND> <ncontext|nobject> IOR:*2 in the log-file
are? I saw that the first (*1) second (*2) IOR are different. When I
print out the retrieved object with
orb->object_to_string(retrieved_object) I get another IOR I can't find
in the log-file, too.

Has anybody an idea what my error could be?

Thanks a lot!

Cheers,

Joerg.