Open the menu

    System Properties

    There are configurations of LumisXP that can be defined through system properties of the JVM. Below are the available configurations.

    lumisDataPath

    The lumisDataPath, besides being defined in the web.xml, as illustrated in the Installation Steps, it can also be defined through the system property lumis.portal.lumisDataPath. If the lumisDataPath is defined through this system property, its definition in the web.xml will be ignored.

    Example

    java (...) -Dlumis.portal.lumisDataPath=C:/path/to/lumisdata (...)

    Defining the lumisDataPath through the web.xml and not through the system property lumis.portal.lumisDataPath, the latter will be created automatically during the portal's initialization.

    Development Mode

    Development mode can be enabled by setting the value true for the system property lumis.portal.developmentMode. When LumisXP is run in development mode, some behaviors are adjusted to assist productivity in a development environment. It is not recommended to enable this mode in production environments.

    Behaviors affected by development mode:

    • With development mode enabled, some elements and attributes that normally would not appear will be present in the HTMLs generated by the portal. This aims to facilitate debugging or understanding the generated HTML, for example, when the page has a Layout File.
    • When an interface is rendered, in development mode, HTML comments containing information about that rendering are included in its rendering. The generation of these comments can be disabled by placing on the page (or inherited from the channel) the property lumis.portal.servicecontainer.disableRenderDebugOutput with the value true.
    • The default configuration of Layout File normally does not check if the HTML file has been modified, requiring a restart of the portal for the change to be applied; but in development mode, the default is to check if it has been modified every 1 second. This behavior can be altered in the LumisPortalConfig.

    Example

    java (...) -Dlumis.portal.developmentMode=true (...)