Understanding the PolicyCenter server environment

During startup, PolicyCenter calculates key environment and server properties. These property values describe the environment in which the server runs. After you set environment properties, you can access these properties through the following methods:

  • PolicyCenter commands
  • Gosu code
  • Java code

It is possible to specify environment property values and server roles either through JVM (Java Virtual Machine) options or through the use of the <registry> element:

  • You define environment and server properties in the <registry> element in file config.xml.
  • You set environment and server properties through command prompt JVM options as you to start a PolicyCenter server.
Important: Guidewire recommends that you specify server IDs and server roles for individual application servers using JVM options as you start the application server rather than defining these values using the <registry> element in config.xml.

Depending on how many PolicyCenter servers your environment requires, you might find it necessary to adjust the environment properties significantly. You can use environment properties together with configuration file config.xml to specify and control one or multiple PolicyCenter server environments.