Default configuration values and environment properties

At start up, PolicyCenter requires many parameters. Consider this carefully if you specify parameters by environment. In some cases, you might want to specify a configuration parameter without any env or server attribute to ensure that the parameter always resolves to some value. In the following example, the last line always resolves to a known value if the other two parameter lines do not resolve:
  • <param name="ClusteringEnabled" value="false" server="batch, ui, workqueue" />
  • <param name="ClusteringEnabled" value="true" env="test" />
  • <param name="ClusteringEnabled" value="true"/>

The last line setting in this example acts as the default value for the parameter. Of course, you might want the server to start only if a certain environment is available. In this case, a default is inappropriate.

See also