Previous Next Up FAQ 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

Note: The KeepAlive program has been replaced by the -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.jar archive of your VolanoChat installation.

See also:

[9.2] COM.volano.Main

Previous Next Up FAQ XHTML 1.0 Table of Contents

2014-07-11 — An updated version of the VOLANO chat server that supports the latest Java 8 Plug-in is now available. More…

The VOLANO® chat software for the Java™ platform lets you build on-line communities and add real-time social networking to your Web site. More…

John Neffenger <john@status6.com>
More…

A PROJECT OF STATUS:6®