Skip to main content
Version: Current

Request Server - configuring runtime

There are two important files in your application that contain configuration information:

  • application-name-processes.xml
  • application-name-service-definitions.xml

Configuring in processes.xml

Here is an example of a Request Server configuration in an application's processes.xml file:

  <process name="POSITION_REQUEST_SERVER">
<groupId>POSITION</groupId>
<start>true</start>
<options>-Xmx256m -DXSD_VALIDATE=false</options>
<module>genesis-pal-requestserver</module>
<package>global.genesis.requestreply.pal</package>
<script>position-reqrep.kts</script>
<description>Server one-shot requests for details</description>
<language>pal</language>
</process>

For more information of what can be configured by each tag in the configuration, follow this link.

Configuring service-definitions.xml

Here is a simple example of a service configuration for a Request Server in an application's service-definitions.xml.

  <service host="localhost" name="POSITION_REQUEST_SERVER" port="11001"/>

For more information about the attributes that can be used to set the service definition configuration, follow this link.

Note - The name for both the service and process must be the same.