Java Dynamic Management Kit 5.1 Tutorial

10.1.1 External RMI Registry

To register the RMI connector server stubs in an external RMI registry, for use by connectors implementing the JRMP transport, start an RMI registry with the following command:

$ rmiregistry 9999 &

For your convenience when typing commands, create an environment variable for the address of the RMI registry.

$ jndirmi="rmi://localhost:9999"