CORBA Naming Service returns incorrect location of a registered object

Posted by dave-keiture on Stack Overflow See other posts from Stack Overflow or by dave-keiture
Published on 2010-06-09T09:36:20Z Indexed on 2010/06/10 2:12 UTC
Read the original article Hit count: 299

Filed under:
|

Hi experts,

I have a simple setup with several objects registered at orbd. Remote client initializes connection to the ORB and tries to resolve a reference to the Naming Serice (IDL:omg.org/CosNaming/NamingContextExt:1.0). So far it's all fine - ORB returns giop.iiop.host/giop.iiop.port pair. When reference to the Naming Service is resolved, client tries to resolve_str() one of the registered objects. This time, Naming Service returns completely different pair giop.iiop.host/giop.iiop.port for the object (not the host/port of a Naming Service) - I don't know anything about them. When client tries to call a method on a resolved object, it fails, as the host/port pair is not configured in the firewall. Could you please explain, why it's happening?

Thanks in advance!

© Stack Overflow or respective owner

Related posts about java

Related posts about corba