Args » History » Revision 1
Revision 1/16
| Next »
Paula Gearon, 09/24/2008 11:07 PM
= Command Line Arguments =
These arguments are used the server distributed with Mulgara. This server is typically run with the command:
{{{
#!sh
java -jar mulgara-version.jar
}}}
Alternatively, the server class can be accessed directly as: `org.mulgara.server.!EmbeddedMulgaraServer`
Each option has two forms: a single character, and a descriptive name. The single character is referenced with a single dash, while full name is accessed with 2 dashes.
-h, --help
Display the list of options.
-x, --shutdown
Do not start a server. Instead, connect to a running server and stop it.
-l ''config_file_url'', --logconfig ''config_file_url''
Use a supplied logging configuration file. (see [http://mulgara.org/svn/mulgara/trunk/conf/log4j-config.xml conf/log4j-mulgara.xml])
-c ''config_file_url'', --serverconfig ''config_file_url''
Use a supplied configuration file. (see [http://mulgara.org/svn/mulgara/trunk/conf/mulgara-config.xml conf/mulgara-conf.xml])
TODO: convert the rest of this....
{{{
/** option to change the host the HTTP server is bound to */
public final static Option HTTP_HOST = new StringOption('o', "httphost");
/** option to disble the http host */
public final static Option NO_HTTP = new BooleanOption('w', "nohttp");
/** option to change the host the server is bound to */
public final static Option SERVER_HOST = new StringOption('k', "serverhost");
/** option to disble the automatic starting of a RMI Registry */
public final static Option NO_RMI = new BooleanOption('n', "normi");
/** option to change to the port the RMI registry listens on */
public final static Option RMI_PORT = new StringOption('r', "rmiport");
/** option to change the port the server is bound to */
public final static Option PORT = new StringOption('p', "port");
/** option to change the name of the server */
public final static Option SERVER_NAME = new StringOption('s', "servername");
/** option to change the location of database files */
public final static Option PERSISTENCE_PATH = new StringOption('a', "path");
/** option to set the smtp server */
public final static Option SMTP_SERVER = new StringOption('m', "smtp");
}}}
Updated by Paula Gearon over 15 years ago · 1 revisions