Changes

Jump to navigation Jump to search
519 bytes removed ,  04:02, 27 August 2012
| {{Code|-h<num>}}
| Specifies the port on which the HTTP server will be addressable.
| <code>[[Options#HTTPPORT|HTTPPORT]]jetty.xml</code>
| {{Code|8984}}
| {{Code|-h9999}}
| {{Code|-l}}
| Starts the server in ''local mode'', and executes all commands in the embedded database context.
|<code>web.xml</code>
|
|
| {{Code|-P&lt;pass&gt;}}
| Specifies a default user password, which will be used by the HTTP services to open a new session. If this flag is omitted, and if {{Code|-U}} was specified, the password will be requested on command line. ''Warning'': when the password is specified on command-line, it may be visible to others.
|<code>web.xml</code>
|
| {{Code|-Uadmin -Padmin}}
| {{Code|-R}}
| Deactivates the [[REST]] service. This flag has been removed in {{Version|7.4}}; all servlets are now specified in the {{Code|web.xml}} configuration file.
|<code>web.xml</code>
|
|
| {{Code|-s&lt;num&gt;}}
| Specifies the port that will be used to stop the HTTP server.
| <code>[[Options#STOPPORT|STOPPORT]]pom.xml</code>
|
|
| {{Code|-U&lt;name&gt;}}
| Specifies a default user, which will be used by the HTTP services for opening a new session.
|<code>web.xml</code>
|
| {{Code|-Uadmin}}
| {{Code|-W}}
| Deactivates the [[WebDAV]] service. This flag has been removed in {{Version|7.4}}; all servlets are now specified in the {{Code|web.xml}} configuration file.
|<code>web.xml</code>
|
|
| {{Code|-X}}
| Deactivates the [[RESTXQ]] service. This flag has been removed in {{Version|7.4}}; all servlets are now specified in the {{Code|web.xml}} configuration file.
|<code>web.xml</code>
|
|
|
|}
 
Some additional options can be triggered by setting the following system properties:
 
* {{Code|org.basex.user}}: user name for opening new sessions
* {{Code|org.basex.password}}: user password for opening new sessions
* {{Code|org.basex.server}}: by default, the HTTP server also starts an instance of the database server. If the mode is set to {{Code|local}}, an embedded database context is used for executing commands. If the mode is set to {{Code|client}}, all commands are sent to an existing database server instance.
* {{Code|org.basex.path}}: path to the BaseX [[Configuration|Home Directory]]
=Changelog=
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu