SERVICE (for JGAS)

This element defines default settings for Web services applications within the JGAS configuration file.

Syntax

<SERVICE>
  [<EXECUTION>...</EXECUTION>]
  [<TIMEOUT>...</TIMEOUT>]
</SERVICE>

Child elements

The SERVICE element may contain the following child elements:

  1. Zero or one EXECUTION (for a service) elements.
  2. Zero or one TIMEOUT (for a service) elements.

Usage

You use the SERVICE element to provide default configuration settings that any Web services application contained in a deployed war file inherit and use.
Note: In the JGAS there is no abstract application definition. All applications and services inherit configurations from the default templates. Only one APPLICATION and SERVICE template is allowed in the JGAS configuration file (as.xcf).

Example JGAS as.xcf SERVICE configuration

  <SERVICE>
      <EXECUTION>
        <ENVIRONMENT_VARIABLE Id="FGLDIR">$(res.fgldir)</ENVIRONMENT_VARIABLE>
        ...
        <DVM>$(res.dvm.wa)</DVM>
        <POOL>
           <START>$(ws.pool.start)</START>
           <MIN_AVAILABLE>$(ws.pool.min)</MIN_AVAILABLE>
           <MAX_AVAILABLE>$(ws.pool.max)</MAX_AVAILABLE>
        </POOL>
      </EXECUTION>
      <TIMEOUT>
        <!--REQUEST_RESULT>$(ws.timeout.requestresult)</REQUEST_RESULT-->
        <DVM_AVAILABLE>$(ws.timeout.dvmavailable)</DVM_AVAILABLE>
        <KEEP_ALIVE>$(ws.timeout.keepalive)</KEEP_ALIVE>
      </TIMEOUT>
    </SERVICE>

Parent elements

In the JGAS configuration file, this element is a child of the CONFIGURATION (for JGAS) element.