6.7. System Configuration

In JBoss EAP, to change a Business Central property, such as the configuration for SSH, do the following:

Procedure 6.4. Changing System Properties

  1. Edit the file $JBOSS_HOME/domain/configuration/host.xml
  2. Locate the XML elements server that belong to the main-server-group and add the system property. For example:
    <system-properties>
     <property name="org.uberfire.nio.git.dir" value="..." boot-time="false"/>
     ...
    </system-properties>
    
Here is a list of all the available system properties:
  • org.uberfire.nio.git.dir: Location of the directory .niogit. Default: working directory
  • org.uberfire.nio.git.daemon.enabled: Enables/disables GIT daemon. Default: true
  • org.uberfire.nio.git.daemon.host: If GIT daemon enabled, uses this property as the localhost identifier. Default: localhost
  • org.uberfire.nio.git.daemon.port: If GIT daemon is enabled, uses this property as the port number. Default: 9418
  • org.uberfire.nio.git.ssh.enabled: Enables/Disables SSH daemon. Default: true
  • org.uberfire.nio.git.ssh.host: If SSH daemon is enabled, uses this property as the localhost identifier. Default: localhost
  • org.uberfire.nio.git.ssh.port: If SSH daemon is enabled, uses this property as the port number. Default: 8001
  • org.uberfire.nio.git.ssh.cert.dir: Location of the .security directory where local certificates will be stored. Default: working directory
  • org.uberfire.metadata.index.dir: Location of the .index folder for Lucene. Default: working directory
  • org.uberfire.cluster.id: Name of the Helix cluster, for example: kie-cluster
  • org.uberfire.cluster.zk: Connection string to Zookeeper. This is of the form host1:port1,host2:port2,host3:port3. For example: localhost:2188.
  • org.uberfire.cluster.local.id: Unique id of the Helix cluster node. Note that ':' is replaced with '_'. For example: node1_12345.
  • org.uberfire.cluster.vfs.lock: Name of the resource defined on the Helix cluster, for example: kie-vfs
  • org.uberfire.cluster.autostart: Delays VFS clustering until the application is fully initialized to avoid conflicts when all cluster members create local clones. Default: false
  • org.uberfire.sys.repo.monitor.disabled: Disable configuration monitor (do not disable unless you know what you're doing). Default: false
  • org.uberfire.secure.key: Secret password used by password encryption. Default: org.uberfire.admin
  • org.uberfire.secure.alg: Crypto algorithm used by password encryption. Default: PBEWithMD5AndDES
  • org.guvnor.m2repo.dir: Place where Maven repository folder will be stored. Default: working-directory/repositories/kie
  • org.kie.example.repositories: Folder from where demo repositories will be cloned. The demo repositories need to have been obtained and placed in this folder. This system property takes precedence over org.kie.demo and org.kie.example properties. Default: Not used.
  • org.kie.demo: Enables external clone of a demo application from GitHub. This system property takes precedence over org.kie.example. Default: true.
  • org.kie.example: Enables example structure composed by Repository, Organization Unit and Project. Default: false