Project

General

Profile

Actions

Args » History » Revision 5

« Previous | Revision 5/16 (diff) | Next »
Paula Gearon, 09/25/2008 05:11 AM


= Command Line Arguments =
These arguments are used the server distributed with Mulgara. This server class name is `org.mulgara.server.EmbeddedMulgaraServer`, but the usual way to run a server is with the command: {{{
#!sh
java -jar mulgara-version.jar
}}}

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.

Arguments

-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-mulgara.xml conf/log4j-mulgara.xml] for the default file)
-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] for the default file)
-o ''hostname'', --httphost ''hostname''
Sets the host name that the HTTP server gets bound to.
-w, --nohttp
Disables the HTTP server. This is equivalent to setting the the `mulgara.http.disable` [wiki:SystemProperties system property].
-k ''hostname'', --serverhost ''hostname''
Sets the host name that the server gets bound to.
-n, --normi
Prevents the server from starting an RMI registry. Equivalent to the `no_rmi` [wiki:SystemProperties system property].
-r ''port'', --rmiport ''port''
Sets the port number the RMI registry accepts connections on.
-p ''port'', --port ''port''
Sets the HTTP port number the server accepts connections on.
-s ''servername'', --servername ''servername''
Sets the name of the server. By default this is `server1`
-a ''path'', --path ''path''
Sets the path for storing the database in.
-m ''servername'', --smtp ''servername''
The host name of the server to use for SMTP. Equivalent to the `mail.smtp.host` [wiki:SystemProperties system property].

Updated by Paula Gearon over 15 years ago · 5 revisions