Starting the Naming Service Browser

To start the Naming Service browser and view a naming service, you need the naming service's IOR.

Obtaining the Naming Service IOR

If the naming service is being managed by a system administrator, the naming service IOR is probably stored in a well-known file. Specify this file when you start the Naming Service browser.

If you are managing the naming service yourself, you need to obtain an IOR when you start the naming service from the command line. The following example shows how to start the JDK 1.2 ORB's naming service.

To start a naming service:

  1. Open a command shell and navigate to the ORB's installation directory. Navigate to the /bin directory.

    This example shows how to start a JDK ORB naming service.

  2. Start the naming service by typing:
     tnameserv -ORBInitialPort 1050
    

    If the naming service returns an error message indicating that the port is in use, you can use a different port number. Make a note of the number, as you will need to know it for the next procedure.

  3. The naming service returns information on the command line that is similar to the following output:
     Initial Naming Context:
     IOR:000000000000002849444c3a6f6d672e6f72672f436f734e616d696e672f4
     e616d696e67436f6e746578743a312e30000000000100000000000000300
     00100000000000774696d2d7773000006db000000000018afabcafe00000
     002cbb35b05000000080000000000000000
     TransientNameServer: setting port for initial object references to: 1050
    

A simple way to get this IOR into the Naming Service browser is to copy it to the clipboard. You want the string beginning with IOR and ending at the last non-blank character before TransientNameServer. After copying the IOR to the clipboard, you can either:

Starting the Naming Service Browser

To use the Naming Service browser with the naming service process that you started earlier:

  1. Switch to the Runtime tab of the Explorer.
  2. Right-click the CORBA Naming Service node and choose Bind New Context. A dialog box appears that enables you to tell the Naming Service browser how to find the service.
  3. Type entries for the Name and Kind fields. For example, if a JDK naming service is used, you would type JDK in the Name field and Naming in the Kind field.
  4. Supply the naming service IOR in one of the following ways:
  5. Click OK to close the dialog box. A new node, named JDK, appears under CORBA Naming Service. The Naming Service browser is now communicating with the naming service process you have specified.
See also
Naming Service Browser Commands

Legal Notices