To start the Naming Service browser and view a naming service, you need the naming service's 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:
This example shows how to start a JDK ORB naming service.
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.
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:
To use the Naming Service browser with the naming service process that you started earlier:
See also | |
---|---|
Naming Service Browser Commands |