Kbase P106014: What is the predefined WebSpeed environmental variable COMPILE_ON_FLY
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  06/07/2005 |
|
Status: Unverified
GOAL:
What is the predefined WebSpeed environmental variable COMPILE_ON_FLY
GOAL:
How to define COMPILE_ON_FLY to the WebSpeed Broker and it's agents
FACT(s) (Environment):
WebSpeed 3.1D
WebSpeed 3.1E
OpenEdge 10.x
FIX:
At run time, prior to executing an HTML file, if r-code is not found, the HTML source will be compiled into a temporary directory and run from there. The compile can be configured to delete the r-code after it is run so that it will compile each time it?s being requested, or it can be configured to compile only when the r-code is older than the source code The compile of source code at run time is based on the following values:
OnTheFly - If Progress r-code is not found, HTML source is compiled at run time.
NoSave - Deletes r-code from the temporary directory after it runs. Ensures that HTML source is always re-compiled at run-time
CheckTime - Checks the time on the source and on the r-code. Compiles if the r-code is older than source.
Activation of this variable can be accomplished either by:
1. Using the Progress Explorer and entering the name of the variable in the NAME field in the brokers' Environment Variable Properties dialog box and the Value in the VALUE field.
2. Manually add to the ubrokers.property file under the Environment section for your broker.
[Environment.wsbroker1]
COMPILE_ON_FLY=OnTheFly