EXECUTION (for service)
This EXECUTION element sets the runtime environment for a web service
application by specifying parameters for its execution.
Syntax
<EXECUTION
>
[<DOCROOT>...</DOCROOT>]
[<ENVIRONMENT_VARIABLE>...</ENVIRONMENT_VARIABLE>][...]
[<PATH>...</PATH>]
[<DVM>...</DVM>]
[<MODULE></MODULE>]
[<PARAMETERS>...</PARAMETERS>]
[<ACCESS_CONTROL>...</ACCESS_CONTROL>]
[<DELEGATE>...</DELEGATE>]
[<POOL>...</POOL>]
</EXECUTION>
- ForwardOptionsRequest attribute takes a boolean. Valid values must be
uppercase:
"TRUE"or"FALSE"and enclosed in double quotes. If set to"TRUE"or not present (default), HTTP requests with the verbOPTIONSwill be forwarded to the 4GL service. If set to"FALSE", HTTP requests with verbOPTIONSwill be replied to by the dispatcher and not forwarded to the 4GL service.
Child elements
Possible execution elements include:
- Zero or more ENVIRONMENT_VARIABLE elements.
- Zero or one PATH element.
- Zero or one DVM element.
- Zero or one MODULE element.
- Zero or one PARAMETERS element.
- Zero or one ACCESS_CONTROL element.
- Zero or one DELEGATE element.
- Zero or one POOL element.
Usage
You use this element to set the runtime environment for a web service application by specifying parameters for executing it. Execution settings may be defined by setting individual execution elements specific to the application.
Usage example
<EXECUTION>
<ENVIRONMENT_VARIABLE Id="FGLDIR">$(res.fgldir)</ENVIRONMENT_VARIABLE>
<ENVIRONMENT_VARIABLE Id="PATH">$(res.path)</ENVIRONMENT_VARIABLE>
<ENVIRONMENT_VARIABLE Id="FGLLDPATH">$(res.fglldpath)</ENVIRONMENT_VARIABLE>
<ENVIRONMENT_VARIABLE Id="FGLWSDEBUG">$(res.fglwsdebug)</ENVIRONMENT_VARIABLE>
<DVM>$(res.dvm.wa)</DVM>
<ACCESS_CONTROL>
<ALLOW_FROM>$(res.access.control)</ALLOW_FROM>
</ACCESS_CONTROL>
<POOL>
<START>$(ws.pool.start)</START>
<MIN_AVAILABLE>$(ws.pool.min)</MIN_AVAILABLE>
<MAX_AVAILABLE>$(ws.pool.max)</MAX_AVAILABLE>
</POOL>
</EXECUTION>
Parent elements
This element is a child of APPLICATION (for a service) and SERVICE (for JGAS).