Starting a Registry

You can start a local RMI registry from the Runtime tab of the Explorer. When a local registry is started, it is automatically added to the RMI Registry Browser. Only one instance of a local registry can be run at a time since the registry runs inside the same JVM as the IDE.

To start a local registry:

  1. Click the Runtime tab of the Explorer.
  2. Right-click the RMI Registry node and choose choose Local Registry.
  3. In the Local Registry dialog box, click Start to start a local registry with the default port 1099.

    If you want to run a registry on a different port, select the port number and type the port number you want, then click Start.

  4. Click Close in the Local Registry dialog box.

    A registry node is added as a subnode to the Registry node in the Runtime tabbed pane. The IDE's console window confirms the registry is running with the message: Internal RMI registry running on port 1099 (or the port number you designated).

tip You can stop a local registry by bringing up the Local Registry dialog box and clicking Stop. A message confirming the registry has stopped is shown in the IDE console window. Selecting the localhost node and choosing Delete from the contextual menu only removes the node from the Runtime tabbed pane display. Deleting a local registry does not turn it off.
See also
Viewing a Running Registry
RMI Registry Browser Commands

Legal Notices