Nuclos nuclos.xml: configuration file, connection-url, JDBC, PostgreSQL, Oracle, MSSQL, keystore, heap-size, automated installation.

globe with meridians Language: Deutsch · English

open book The nuclos.xml configuration file

Structure of the central configuration file – server, client and database settings incl. connection-url examples.

On this page

The file nuclos.xml is generated during installation and stores all settings – making updates easier. The generated (or a manually created) file can also be used for an automated installation.

Structure

<server>                Server-Einstellungen
  <home>              Zielverzeichnis der Installation
  <name>              Name der Nuclos-Instanz (für den Dienst)
  <http>              <enabled> [true|false], <port>
  <https>             <enabled>, <port>,
                      <keystore> (<file>, <password>)
  <shutdown-port>     Port für das Shutdown-Kommando
  <heap-size>         max. Arbeitsspeicher des Serverprozesses
  <java-home>         zu verwendende Java-Installation
  <production>        <enabled> [true|false]
  <development>       <enabled>, <debugport>, <jmxport>
  <launch-on-startup> beim Systemstart ausführen [true|false]
<client>                <singleinstance> [true|false]
<database>              Datenbank-Einstellungen
  <adapter>           [postgresql|oracle|mssql|sybase]
  <driver>            JDBC-Treiber-Klasse
  <driverjar>         *.jar mit JDBC-Treiber
  <connection-url>    JDBC-URL (siehe Beispiele)
  <username> <password> <schema>
  <tablespace> <tablespace-index> (optional)
  <setup>setup</setup>  automatisches DB-Setup (optional)
  <postgres>          <superuser> <superpw> (bei Auto-Setup)

connection-url per database

The <instance-name> must match the database instance name assigned during DB installation (for MS SQL Server the database name). The examples assume the Nuclos and DB server are identical (localhost):

Databaseconnection-url (example)
PostgreSQLjdbc:postgresql://localhost:5432/<instance-name>
Oraclejdbc:oracle:thin:@localhost:1521:<instance-name>
MS SQL Serverjdbc:sqlserver://localhost:1433;DatabaseName=<instance-name>
Sybasejdbc:sybase:Tds:localhost:2638/<instance-name>

With <setup>setup</setup> enabled Nuclos creates the database user, password, schema and tablespace automatically – superuser credentials must be provided under <postgres>.

Related pages

gear SSL encryption


Keystore.

Open →

gear Database


Database.

Open →