Previous XML Configuration Files Next

Command-line Configuration

The OpenFusion CORBA Services distribution includes a command-line utility com.prismt.openfusion.tools.ChangeSettings which can be used to set properties in the XML configuration files. This provides an alternative to using the Administration Manager and can be useful when performing a command-line or script-driven install of OpenFusion.

This utility is run as follows:

% java com.prismt.openfusion.tools.ChangeSettings <dir>

<property> <value> [ <property> <value> ... ]

Where:

<dir> is the directory that contains the XML files.
<property> is the name of the property which is to be set.
<value> is the value that the property is to be set to.

The utility will search all XML files in the specified directory, and recursively in all directories below that directory, for incidences of the specified property. Wherever an incidence of that property is located, it is set to the specified value.

Multiple property-value arguments can be specified, allowing several properties to be set in a single operation.

Properties can only be set in XML files which conform to the DTD for OpenFusion property files.

Because directories are searched recursively, care must be taken when specifying the directory argument. If a property exists in multiple different services but should be set to a different value in each service (IOR.URL, for example), it would be a bad idea to set that property by running the utility at the domains directory level.


All Service properties are named and described in the Configuration and Management section of each Service guide. Properties common to all Services are documented in Common Configuration Properties of this guide.



Previous XML Configuration Files Next