DVM

This element specifies the name of the Dynamic Virtual Machine.

Syntax

<DVM>name</DVM>
  1. name defines the name of the DVM. The default is set by the resource $(res.dvm.wa). This value is typically fglrun for Linux®/UNIX™ Systems (UNX) and fglrun.exe for Windows® Systems (WNT).

Child elements

There are no child elements.

Usage

You use this element to specify the DVM you want to use to start and run the application.

Usage example with res.dvm.wa resource

<DVM>$(res.dvm.wa)</DVM>
The default value of the resource is:
<RESOURCE Id="res.dvm.wa" Source="INTERNAL">"$(res.fgldir)/bin/fglrun"</RESOURCE>
Using the resource has advantages over setting the DVM directly for the following reasons:
  • Shared resource: The resource is shared by other configuration components, ensuring that any changes automatically apply everywhere it is used.
  • Command line override: You can override the default value from the command line when starting the dispatcher by using the resource. For example: httpdispatch -E res.dvm.wa="c:\fjs\gas\debug.bat".

Usage example - use DVM directly

To set the DVM in your application configuration file (xcf), add a DVM element to the EXECUTION element.
<APPLICATION Parent="defaultwa">
   #...
   <EXECUTION>
      #...
      <PATH>myapps/waecho</PATH>
      <DVM>"c:\fjs\gas\debug.bat"</DVM>
      <MODULE>waecho.42m</MODULE>
      #...
   </EXECUTION>
    #...
 </APPLICATION>

Parent elements

This element is a child the following elements: