Winston Wave Server

Winston Wave Server is used to serve data to Swarm and web browsers.


Configuring Winston

When WWS starts it will look for a configuration file called WWS.config in the current working directory. A different location may be specified in the last argument on the command line.

The configuration file in an unordered list of key=value pairs.

database keys

These settings are used by most winston applications. To avoid setting these values in multiple files it's common to place them in a Winston.config file that in included in WWS.config using @include Winston.config

WWS keys

Launching Winston

Start Winston Wave Server with a command similar to java -cp lib/winston.jar gov.usgs.volcanoes.winston.server.WWS. Convienence scripts are provided in bin/ to make this easier.

WWS has several command line switches that can be listed by calling it with the --help command line argument.

% java -cp lib/winston.jar gov.usgs.volcanoes.winston.server.WWS --help

Usage:
  java -jar gov.usgs.volcanoes.winston.server.WWS [--help] [-i|--noinput]
  [<config-filename>] [-v|--verbose]

I am the Winston wave server


  [--help]
        Prints this help message.

  [-i|--noinput]
        Do not poll keyboard for input.

  [<config-filename>]
        The config file name. (default: WWS.config)

  [-v|--verbose]
        Verbose logging.

%