Changes

Jump to navigation Jump to search
132 bytes removed ,  03:50, 27 August 2012
! Description
|-
| {{Code|org.basex.modeserver}}| {{Code|localfalse}}| {{Version|7.4:}} Operation mode. By default, the servlets will work with a local database context {{Code|org.basex.path}}in an embedded mode. With {{Version|7.3}}, the {{Code|client}} mode has been replaced with a new {{Code|server}} mode, which If this option is equivalent set to the default mode of the [[#Standalone Application|Standalone Application]]: true, a database server instance will be started along with the first call of a service, which is then available for other clients, too.
|-
| {{Code|org.basex.user}} {{Code|org.basex.password}}
| -
| Login data. By default, no user and password is specified, and the credentials must be passed on by the client. Please check by yourself if it is safe to store your credentials in the plain text.|-|{{Code|weborg.xmlbasex.mode}}|{{Code|local} file}|Operation mode ({{Code|local}}/{{Code|server}}). With {{Version|7. The default user credentials can be found under [[Startup#BaseX_Client4}}, this option has been replaced with {{Code|Startup: BaseX Client]]org.basex.server}}.
|}
Additionally, all database main options, which are usually stored in the {{Code|.basex}} configuration file ({{Code|DBPATH}}, {{Code|HTTPPATHREPOPATH}}, etc.), can be specified as well by prefixing the key with {{Code|org.basex.}}. If an option references a relative path, it will be prefixed with the servlet root path. Some examples follow:
<pre class="brush:xml">
<context-param>
<param-name>org.basex.dbpath</param-name>
<!-- will be rewritten to ..../webapp/data -->
<param-value>data</param-value>
</context-param>
<context-param>
<param-name>org.basex.httppath</param-name>
<param-value>http</param-value>
</context-param>
<context-param>
<param-name>org.basex.repopath</param-name>
<!-- will be kept as is --> <param-value>repof:/basex/repository</param-value>
</context-param>
<context-param>
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu