CORBA 2.6 Programmer's Guide for C++

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, if 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