EXECUTION (under APPLICATION for JGAS)

This EXECUTION element sets the runtime environment and execution parameters for an application deployed with JGAS.

Syntax

<EXECUTION [ AllowUrlParameters="[ TRUE | FALSE ]" ] 
  [ CloseAllOnMainExit={ "TRUE" | "FALSE" } ]>
  [<ENVIRONMENT_VARIABLE></ENVIRONMENT_VARIABLE>][...]
  [<COMMAND></COMMAND>]
  [<PATH></PATH>]
  [<DVM></DVM>]
  [<MODULE></MODULE>]
  [<PARAMETERS>...</PARAMETERS>]
  [<UA_OUTPUT>...</UA_OUTPUT>]
  [<DELEGATE>...</DELEGATE>]
  [<WEB_COMPONENT_DIRECTORY></WEB_COMPONENT_DIRECTORY>]
</EXECUTION>
  1. The AllowUrlParameters attribute defines whether parameters set in the application URL at the command line should be ignored ("FALSE", default value) or provided to the DVM ("TRUE").
  2. The CloseAllOnMainExit attribute specifies that all child applications started by this main application are gracefully closed on exit.

Child elements

In the JGAS the order child elements appear within the parent node is not important. The EXECUTION element may contain the following child elements:

Usage

You use this element to set the runtime environment and execution parameters for an application.

Usage example

<EXECUTION>
   <ENVIRONMENT_VARIABLE Id="FGLDIR">$(res.fgldir)</ENVIRONMENT_VARIABLE>
   <PATH>$(res.deployment.path)</PATH>
   <DVM>$(res.dvm.wa)</DVM>
   <MODULE>myapp.42m</MODULE>
   <WEB_COMPONENT_DIRECTORY>webcomponents</WEB_COMPONENT_DIRECTORY>
   <ACCESS_CONTROL>
     <ALLOW_FROM>$(res.access.control)</ALLOW_FROM>
   </ACCESS_CONTROL>
   <UA_OUTPUT>
     <PUBLIC_IMAGEPATH>$(res.public.resources)</PUBLIC_IMAGEPATH>
     </TIMEOUT>
     <GBC>$(res.gbc)</GBC>
     <GDC_SHORTCUT>$(res.deployment.root)/tpl/shortcut/gdc-http.gdc</GDC_SHORTCUT>
   </UA_OUTPUT>
   </DELEGATE>
</EXECUTION>

Parent elements

This element is a child of the APPLICATION (for application) element.