CORBA 2.6 Programmer's Guide for C++

Using the showior tool
The $NSD_ROOT/bin/unsupported/showior tool can help you in troubleshooting applications. Use this tool
to help determine if a server is publishing the correct information about an object, for example, the right TCP address
and port number. You can also use this tool to determine if a client has the right profiles available, that is, profiles that
match the client's capabilities.
The showior tool traverses the profiles contained in the IOR file and displays the information associated with each
profile. If you need background information to interpret profile information, see Object References. By default,
showior sends the specified stringified IOR file to stdout. You can use the showior output to find problems in
your NonStop CORBA configurations and applications.
Before you can use showior, the environment must be correctly configured, which is done by executing the
$NSD_ROOT/etc/env.sh script.
The showior Tool Syntax
showior [-a | -o | -r ] IOR-filename
where
-a
The -a switch is optional and available if you are running showior from C++ or Java. When used, -a
specifies that the profile data is to be displayed in an ASCII/hexadecimal-formatted table. The default profile
data display is mixed ASCII and hexadecimal where an ASCII character is enclosed within square brackets [ ]
and the hexadecimal digit is enclosed within parentheses ( ).
-o
The -o switch decodes and displays the object key information in a form similar to that displayed by the
Console (seeFigure 5.3).
-r
The -r switch is optional and specifies that the IOR is to be displayed in raw format.
IOR-filename
This option specifies the name of the IOR file to be displayed. The default filename is objref.
Examples of showior Commands
The following command runs showior with the default display and default IOR file objref.
showior
The next command runs showior with the -o switch enabled to show the object key information. The filename
specified is NameService.
showior -o NameService
Using the esadmin Tool
Use the Event Service Administration Tool (esadmin tool) as a development tool for debugging a NonStop
CORBA application. While the esadmin tool can be used to perform Event Service administrative and management