Launching AdminUI Remotely

If your Persistit-based application is running on a headless server, or on a computer in an inconvenient location, you can launch AdminUI on another workstation and access the server remotely.

To do this, you must first enable Remote Method Invocation (RMI) support for the remote Management server within Persistit. Then launch AdminUI and connect it to the running Persistit instance.

To enable remote access, specify one (not both) of the following property values in the Persistit configuration file

rmiport=portNumber(typically 1099)
orrmihost=rmiRegistryUrl(URL of an external RMI registry)

Alternatively, you can also specify either of these on the command line as

-Dcom.persistit.rmiport= rmiPort
or -Dcom.persistit.rmihost= rmiRegistryUrl

To launch the AdminUI utility on a workstation, execute the command line

java -jar persistit_jsa100_ui.jar host:port

where host and port are the hostname and port for the RMI registry. If you specified the rmiport property for the server, then host is simply the hostname of that server, and port is the port number you specified. (The default value is RMI's well-known port address of 1099.)

If you specify a hostname and port on the command line, AdminUI automatically connects to the Persistit Management interface registered there. If you don't specify a hostname, or if you want to connect to a different server, select File->Connect from the menu to specify the host server.