rmid - The Java RMI Activation System Daemon

rmid starts the activation system daemon so that objects can be registered and activated in a Java VM.


rmid [-port port] [-log dir]


The rmid tool starts the activation system daemon. Before activatable objects can be either registered with the activation system or activated in a Java VM, the activation system daemon must be started. See the RMI specification for details on how to write programs that use activatable remote objects. The daemon can be started by executing the rmid command with no options, as follows:
starts the Activator and an internal registry on the default port of 1098, and binds an ActivationSystem with the name java.rmi.activation.ActivationSystem in this internal registry. To specify an alternate port for the registry, you must specify the -port option when starting up rmid, for example:
rmid -port 1099
starts the activation system daemon and a registry on the registry's default port of 1099.


Specifies an option that is passed as a command line argument to each child process (activation group) of rmid when that process is created. For example, you could pass a property to each Java Virtual Machine spawned by the activation system daemon:
rmid -C-Dsome.property=value
This ability to pass command-line arguments to child processes can be useful for debugging. For example, the following command:
rmid -C-Djava.rmi.server.logCalls=true
will enable server-call logging in all child Java Virtual Machines.

-log dir
Specifies the name of the directory the activation system daemon uses to write its database and associated information. The log directory defaults to creating a directory, log, in the directory in which the rmid command was executed.

-port port
Specifies the port rmid's registry uses. The activation system daemon binds the ActivationSystem, with the name java.rmi.activation.ActivationSystem, in this registry. Thus, the ActivationSystem on the local machine can be obtained using the following Naming.lookup method call:
import java.rmi.*;
import java.rmi.activation.*;

ActivationSystem system;
system = (ActivationSystem)

Stops the current invocation of rmid, for a port specified by the -port option. If no port is specified, it will stop the rmid running on port 1098.


Used to provide the system a path to user-defined classes. Directories are separated by colons. For example,