jGuru
Register Email     Password Forgot your
password?
HOME FAQS FORUMS DOWNLOADS ARTICLES PEERSCOPE LEARN

  Search   jGuru Search Help

Question How can I figure out what information an IOR includes? The CORBA Specs didn't help - they were not clear enough.
Derived from A question posed by Robert Wilke
Topics Distributed computing:CORBA
Author Michael Szlapa
Created Dec 14, 2000 Modified Dec 18, 2000


Answer
It includes ALL information that your ORB may need to connect to a remote object.

The IOR contains multiple parts describing how to technically connect to the remote object. It includes information like the IP address and port of the host and the name of the server (and much more).

You do not need to know what is in an IOR and should not depend on it unless you are writting your own ORB.

If you are using an ORB, you should use the orb_to_string(String) and unstringify(String) method of your ORB to convert the IOR contents to the object. Then test the object itself.

If you really want to know the all the components of the IOR I do not see any other way then to go through chapter 13.6 of the OMG CORBA/IIOP specification (http://www.omg.org/technology/documents/formal/corbaiiop.htm). It describes all the information pieces that may be stored in IOR. It further refers to the section 15.3 of this document on the rules of how IOR data structure is encoded into an IOR.

Is this item helpful?  yes  no     Previous votes   Yes: 0  No: 0



Comments and alternative answers

Comment on this FAQ entry

In general you would not need to know what is in the...
atta quani, Dec 18, 2000
In general you would not need to know what is in the IOR, but at times this information is indispensable, for example in the case when a host machine has more then one network card, the exact IP address specified in the IOR can be difficult to deduce without reading the contents of the IOR . Also most vendors provide some kind of utility to read the contents of the IOR, for VisiBroker this utility is called printIOR.

Is this item helpful?  yes  no     Previous votes   Yes: 0  No: 0



Reply to this answer/comment  Help  
There is a utility in Visibroker for java called p...
Padma Kolla, Dec 26, 2000
There is a utility in Visibroker for java called printIOR. This can be used to see what the IOR file has. The command to use this is printIOR <ior filename>

Is this item helpful?  yes  no     Previous votes   Yes: 0  No: 0



Reply to this answer/comment  Help  
IOR content
Markus Richner, Feb 26, 2002
If you are using different ORBs in your system it is very nice if you can see the content of the IORs. This helps a lot for figuring out problems. The Omni ORB for the Python environment supports an executable to translate a stringified IOR to a readable form. That utility did help a lot !!!!

Is this item helpful?  yes  no     Previous votes   Yes: 0  No: 0



Reply to this answer/comment  Help  
IOR content
Markus Richner, Feb 26, 2002

If you are using different ORBs in your system it is very nice if you can see the content of the IORs. This helps a lot for figuring out problems.
The Omni ORB for the Python environment supports an executable to translate a stringified IOR to a readable form. That utility did help a lot !!!!

Is this item helpful?  yes  no     Previous votes   Yes: 0  No: 0



Reply to this answer/comment  Help  
IOR content
Markus Richner, Feb 26, 2002


If you are using different ORBs in your system it is very nice if you can see the content of the IORs. This helps a lot for figuring out problems.
The Omni ORB for the Python environment supports an executable to translate a stringified IOR to a readable form. That utility did help a lot !!!! <\p>

Is this item helpful?  yes  no     Previous votes   Yes: 0  No: 0



Reply to this answer/comment  Help  



Ask A Question



 
Related Links

CORBA FAQ

CORBA Forum

Wish List
Features
About jGuru
Contact Us

 



The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers