WebSpeed
Product Update Bulletin


Set the Agent Application Mode To Production

You must set the value of your Agent application mode to Production to prevent unwanted exposure of several WebSpeed components. The default value for this setting is Development. Therefore, you must take explicit action to set this value to Production before you deploy and run your WebSpeed applications.

Table A–1 details the functionality differences between the Production and Development modes.

Table A–1: Agent Application Mode Descriptions 
When the Agent Application Mode is set to...
Then this property...
Production
  • Prohibits Web objects specified in the URL with the path install-path\src\web\ from being run.
  • Disables these utility commands: debug, reset, ping, and WebTools.
  • Restricts the utility command ping so that it only indicates that the WebSpeed Agent is available; it does not display any other information about the Agent’s environment.
  • Ignores debugging via the URL (?debug=xxx). However, if the Debug mode is set to enable, then debugging using the URL is not ignored.
Development (default)
  • Allows unlimited access to run Web objects specified in the URL with the path install-path\src\web\.
  • Enables these utility commands: ping, debug, reset, web-utility, and workshop.
  • Allows users to access specific development files, including the WebSpeed Workshop.
  • Enables debugging via the URL (?debug=xxx). However, if the Debug mode is set to disable, then debugging using the URL is not ignored.

Procedure Using the Progress Explorer Tool

To change the value of the Agent application mode from Development to Production using the Progress Explorer Tool, perform these steps:

  1. Double click the WebSpeed folder on the left-hand side of the main Progress Explorer window.
  2. Right click on the broker object.
  3. Choose Properties on the shortcut menu. The broker Properties window displays.
  4. Click on Agent General to display properties associated with the WebSpeed Agent. Note that the Agent application mode field displays two options: Development and Production.
  5. Set the Agent application mode to Production as shown in the wsbroker1 Properties window below.
Procedure Using the ubroker.properties File

To change the value of the srvrAppMode property from Development to Production in the ubroker.properties file, perform these steps:

  1. Determine if you need to set all brokers or just individual brokers to a Production mode.
  2. The property values established in the various sections of the ubroker.properties file are governed by a parent-to-child inheritance relationship. For example, values set in the parent, the [UBroker] section, are inherited at the [UBroker.WS] level. Similarly, values defined at the [UBroker.WS] level are inherited as default values by each individual broker instance, established in unique [UBroker.WS.brokername] sections.

    Alternatively, you can retain the property values established at the parent level and override only those individual values at the lower, child level that you need to change.

  3. Search the ubroker.properties file for the srvrAppMode property in the section, or sections, that you need to change.
    • To affect all brokers, search for srvrAppMode property in the [UBroker.WS] section.
    • To affect one or more individual brokers, search for or add the srvrAppMode property in the individual [UBroker.WS.brokername] section.
  4. Change the value of the srvrAppMode property to Production.

Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095