Apply properties to server environments

You must configure server properties to reflect your environment. You can do this using any of the following:

  • - Samples included in each of the .war files

  • - Sample located in the /shared folder on the DVD

    You can use this file to override the properties set in the WAR file as follows:

    1. Set the overriding property values in
    2. Place on the classpath.

    Adobe recommends that you make use of the file, since this allows you to update your application WAR files without risking the loss of any previous property configuration setup you may have done in the file.

  • The Java System property mechanism.

You can apply individual properties to these specific server environments:

  • Development
  • Staging
  • Production

With this capability, you can use the same WAR file for all server environments. To apply properties to specific environments, append two underscore characters (’ __') plus one of the following environment codes to the property name:

  • DEV
  • PROD

For example, to set the log level to INFO for your production and staging servers, and to DEBUG for your development server:


The server employs this search order for properties:

  1. propertyname_environment in

  2. propertyname_environment in

  3. propertyname_environment in Java System properties

  4. propertyname in

  5. propertyname in

  6. propertyname in Java System properties


You must specify the server’s environment name as a Java System property when starting the server. For example, when starting Tomcat with catalina.bat, set the CATALINA_OPTS environment variable as follows:

On this page