Base Configuration

Moria is dependent on two inital properties which has to be specified as system properties in the VM (or classloader, if your application server supports this functionality). These properties are:

  1. no.feide.moria.configuration.base
    Should point to the Configuration Manager's base property file. Example:
    no.feide.moria.configuration.base=/full/path/base.properties
  2. log4j.configuration
    Log4j's configuration file (optional). Example:
    log4j.configuration=/full/path/log4j.xml

The last property may be considered optional as log4j on initialization has its own regime of locating its configuration, but this is the preferred way to do it when using Moria2.

This example starts Resin with the required properties:

$ cd $RESIN_HOME/bin
$ httpd \
> -Dno.feide.moria.configuration.base=/config/base.properties