| Table of Contents |
9.1 COM.volano.KeepAlive
COM.volano.KeepAlive starts a server and makes sure it stays running.
Synopsis
java COM.volano.KeepAlive command
Description
-r option of the startup.sh script on FreeBSD, Linux, Mac OS X, or Solaris. On Windows you can perform automatic restarts by running the VolanoChat server as a Windows Service and setting up the service's Recover Properties.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.
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. The classpath needs to point to the
lib/volanochat-server.jararchive of your VolanoChat installation.
See also:
[9.2] COM.volano.Main
| XHTML 1.0 | Table of Contents |