PreviousNextUpFAQ Table of Contents

COM.volano.KeepAlive

COM.volano.KeepAlive keeps a server up and running.

SYNOPSIS

java COM.volano.KeepAlive command

DESCRIPTION

COM.volano.KeepAlive starts a server process and monitors its state. If the secondary process ever stops, the KeepAlive program waits 15 seconds and then restarts it. For example, to start the VolanoChat server under KeepAlive on the Sun Solaris operating system, enter the command:

java COM.volano.KeepAlive java COM.volano.Main &

This command starts the KeepAlive program as a background job and tells it to run the VolanoChat server with "java COM.volano.Main". The KeepAlive program stays active and monitors the VolanoChat server, restarting it if it ever stops.

To start the VolanoChat server under KeepAlive using Microsoft's SDK for Java on Windows NT, enter the command:

jview COM.volano.KeepAlive jview COM.volano.Main

Note that to find the Java class file, COM/volano/KeepAlive.class, you'll need either to have no CLASSPATH defined or to have the current working directory (".") included in the definition of your CLASSPATH environment variable.

ENVIRONMENT VARIABLES

CLASSPATH
Used to provide the system a path to user-defined classes. Directories are separated by semicolons on Windows and colons on UNIX. For example, on UNIX you might have:
.:/usr/local/java/lib/classes.zip
while on Windows, you might specify:
.;C:\jdk1.1.5\lib\classes.zip

SEE ALSO


PreviousNextUpFAQ Check HTML Table of Contents