Configuration File

Configuration File — File containing settings for the run environment.

Introduction

ProLinga-Run comes with a configuration file where various service endpoints can be entered. Default installation of ProLinga-Run will put the default service file prolingaruncfg.xml in the etc directory.

A default configuration file looks like this:

<?xml version="1.0" encoding="utf-8" ?>

<!-- ProLinga Configuration File -->
<!-- Copyright (C) 2002-2008 The ProLinga Team. -->
<!-- All Rights Reserved. -->
                                                                                                                                             
<ProLinga>
  <Configuration>
    <Service Name="Runner">
      <!-- Settings for prolingarunclient. -->
      <Client>
        <ClientHost>m3</ClientHost>
        <ClientPort>8005</ClientPort>
        <ClientCompressionLevel>6</ClientCompressionLevel>
      </Client>

      <!-- Settings for prolingarund. -->
      <Server>
        <ServerHost>m3</ServerHost>
        <ServerPort>8005</ServerPort>
        <NumberOfThreads>3</NumberOfThreads>
        <LogFile>/tmp/run.log</LogFile>
        <LogLevel>5</LogLevel>
        <ServerCompressionLevel>6</ServerCompressionLevel>
        <RepositoryHost>m3</RepositoryHost>
        <RepositoryPort>8001</RepositoryPort>
        <ValidateHost>m3</ValidateHost>
        <ValidatePort>8003</ValidatePort>
        <DataHost>m3</DataHost>
        <DataPort>8007</DataPort>
        <ExternalScreenPainter>glade-2</ExternalScreenPainter>
      </Server>
    </Service>
                                                                                                                                             
    <!-- Foreign Services. -->
                                                                                                                                             
  </Configuration>
</ProLinga>

There is a section for the client and server part available. The setup of this configuration file is such that it can be combined with configuration files from other ProLinga projects.

Configuration Client Options

ClientHost

The name or IP number of the host where to connect to, to present a Web Command.

ClientPort

The TCP port of the host where to connect to, to present a Web Command.

Configuration Server Options

ServerHost

The name or IP number to bind to when starting prolingarund as a Web Service.

ServerPort

The port number to bind to when starting prolingarund as a Web Service.

NumberOfThreads

Number of threads when starting prolingarepd as a Web Service. This means that up to NumberOfThreads requests can be served simultanously, before they are queued.

LogFile

Name of the file where logging and debug info will be written to.

LogLevel

The level of logging. 0=No Logging, 2= +Messages/Errors, 3= +Soap request/response info.

ServerCompressionLevel

Level of compression to be used on the Web Command XML document before it is returned over the network to the Run caller/client. 0=No Compression, 9=Best Compression.

RepositoryHost

The name or IP number the Repository Web Service.

RepositoryPort

The port number the Repository Web Service.

ValidateHost

The name or IP number the Validate Web Service.

ValidatePort

The port number the Validate Web Service.

DataHost

The name or IP number the Data Web Service.

DataPort

The port number the Data Web Service.

ExternalScreenPainter

The path and filename of the external screen painter to be used.