Skip to main content
Summary How to distinguish between contexts and objects from the itadmin ns list -recursive command
Article Number 33228
Environment Orbix 6.x All Supported Platforms
Question/Problem Description
How to tell what objects or contexts are registered in the naming service?
How to list all contents in the naming service from a single command?
How to tell the difference between contexts and objects in the naming service?
How to tell what is a directory and what is an endpoint from itadmin ns list?
Clarifying Information
Error Message
Defect/Enhancement Number
Cause
Resolution The path should always be obvious from when you run the itadmin ns list - recursive command. Here is some example output: 

>itadmin ns list -recursive 
|---IT_MGMT 
| | iona_services.naming 
| | iona_services.locator 
| | iona_services.node_daemon
|---Level1Dir 
| |---Level2Dir1 
| | |---Level3Dir1 
| |---Level2Dir2 
| | | ObjExample 

Note that the 'directories' or contexts as they are called in CORBA are proceeded with --- and the objects in these contexts do not have this prefix. 
Workaround
Notes
Attachment
Created date: 12 July 2012
Last Modified: 13 February 2013
Last Published: 12 July 2012
First Published date: 12 July 2012

#Orbix
#KnowledgeDocs