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:

1 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 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 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 mulgara.http.disable system property.
-k hostname, --serverhost hostname
Sets the host name that the server gets bound to.
-g graphURI, --defaultgraph graphURI
Sets the URI of the default graph to use in SPARQL operations. This is equivalent to the sparql.default.graph system property
-n, --normi
Prevents the server from starting an RMI registry. Equivalent to the no_rmi system property.
-r port, --rmiport port
Sets the port number the RMI registry accepts connections on. default: 1099
-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 system property.
-p port, --port port
Sets the HTTP port number the server accepts connections on. default: 8080
-u port, --publicport port
Sets the HTTP port number the server accepts public connections on. Public connections only provide read-only operations. default: 8081
-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 system property.