Values of system properties in files and applications

To simplify working in a development environment, you can assign a value to a system property in both a file and in the System Properties application. The value in the file takes precedence.

If the file override option is selected, the property is defined in the maximo.properties file.

In the System Properties application, if a system property is configured to be available only from the maximo.properties file, but the property is not present in this file, then the application server does not start and a message is written to the maximo.log file.

If a property is defined in the maximo.properties file, but not defined in the System Properties application, the property is not loaded at startup. A warning is written to the maximo.log file.

Example

The following are examples of the advantages of assigning a property value in both a file and in the System Properties application:
  • Multiple developers can use a common database, and can run separate system instances with different property values.
  • When you want one server in a cluster to handle a specific cron task, you can create a maximo.properties file specifically for that server instance.


Feedback