|
|
Table of Contents |
COM.volano.KeepAlive starts a server and makes sure it
stays running.
java COM.volano.KeepAlive command
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.
CLASSPATH
.:/usr/java1.1/lib/classes.zipwhile on Windows, you might specify:
.;C:\jdk1.1.7\lib\classes.zip
|
|
Check HTML | Table of Contents |