OptimaWSI configuration

To configure OptimaWSI, you need to edit the following files:

Installation path Description

/opt/ptv-optima-vv.n.xxxxmodules/com/sistemaits/optima/main/module.xml

Configuration file for the module API.

/opt/ptv-optima-vv.n.xxxxoptima/log4j.xml

Logging configuration file.

/opt/ptv-optima-vv.n.xxxxptv-optima-as/standalone/configuration/optima/optima-configuration.xml

Optima configuration file.

Modification during execution

You can modify the configuration files log4j.xml and optima-configuration.xml during the execution of OptimaWSI. Any changes immediately take effect on the system.

Notation used

In the configuration files, you can use an XPath-like notation to refer to a value defined elsewhere in the XML file.The XPath syntax defines an order of exploration of the XML file.

EXAMPLE

The syntax ${defaults/optimaJSLibrary/urls/auth} is semantically equivalent to “use the value of the XML node defaults.optimaJSLibrary.urls.auth”, that is:

<defaults>
    <optimaJSLibrary>
        <urls>
            <auth>VALUE</auth>
        </urls>
    </optimaJSLibrary>
</defaults>
                

For brevity of notation, the root node <configurations> is omitted in the descriptions.