Project

General

Profile

Actions

Args » History » Revision 11

« Previous | Revision 11/16 (diff) | Next »
Paula Gearon, 10/08/2008 10:35 PM
updated peerPort to objectPort. Wasn't going to do this, since peerPort is OK, but this is consistent with the command line


= 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. This is a URL, so a local file needs to supplied as a '''file:''' URL. e.g. `file:/home/fred/log4j-config.xml`. 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. This is a URL, so a local file needs to supplied as a '''file:''' URL. e.g. `file:/home/fred/mulgara-config.xml`. 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.
-t ''port'', --rmiobjectport ''port''
Sets the port number that RMI uses to serve objects. The default is to use a randomly assigned port. Equivalent to the `mulgara.rmi.objectPort` [wiki:SystemProperties system property].
-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 · 11 revisions