CORBA 2.6.1 Programmer's Guide for Java

installation.
The showior Tool Syntax
showior [-a | -o | -r ] IOR-filename
where
-a
The -a switch is optional and available when 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 (see Figure 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 tasks, the Console is the preferred tool for management in
production environments. The esadmin tool can only be run from the JORB Lite environment on a workstation, but it can be used with the Event
Service on the NonStop system. The esadmin tool uses a graphical user interface (GUI) to let you administer one or more NonStop CORBA
Event Service channels. By using this tool, you can:
View the current statistics for an event channel
Change event channel policies
Enable or disable tracing in the event channel
The Event Service Administration Tool is a Java application that makes use of the Java Abstract Windowing Toolkit (AWT) to implement a
graphical interface. Therefore, you must run the tool in a Java environment that supports the AWT; the tool does not run on NonStop systems.
You can locate event channels by using the Naming Service or by using a file-based object reference, as explained later in this section.
For JORB Lite, the required Java environment is:
CLASSPATH must include the path to the standard Java JVM classes file, the jorblite.jar file, and the esadmin.jar file.
PATH must include the path to the Java implementation.
When NonStop CORBA is installed, the Naming Service writes the stringified IOR of the root naming context into the NameService file.
This ASCII file must be copied to the computer where JORB Lite is installed and the full pathname of this file must be specified in the
lite.dbm Naming Service setting. The default location is c:\jorblite\lib\lite.dbm.
For example, when the
NameService file is copied into the directory c:\jorblite\lib\NameService, the Naming Service setting in
lite.dbm would resemble the following:
NS@name_service_settings RootNamingContextIORFile c:\jorblite\lib\NameService
The CLASSPATH and PATH settings can be changed by editing and running the env.bat file.
The esadmin Tool Syntax
esadmin
esadmin has no options.
Running the esadmin Tool
When you run esadmin, it gathers the list of the event channels stored in the NonStop CORBA Naming Service database. The tool displays this
list in a dialog box from which you can select the event channel to administer, as shown in
Figure 5–2.
Figure 5.2. esadmin Tool