ProLinga-Validate Project |
---|
Configuration File — File containing settings for the Validate environment
ProLinga-Validate comes with a configuration file where various variable settings
can be entered. Variables like the name of the Language Definition file and
the name of the host where the Repository Web Service is running for instance.
Default installation of ProLinga-Validate will put the default configuration file
prolingavalcfg.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="Validate"> <!-- Settings for prolingagenclient. --> <Client> <ClientHost>localhost</ClientHost> <ClientPort>8003</ClientPort> <ClientCompressionLevel>0</ClientCompressionLevel> </Client> <!-- Settings for prolingavalparser, prolingavald and prolingavalexec. --> <Server> <ServerHost>localhost</ServerHost> <ServerPort>8003</ServerPort> <NumberOfThreads>3</NumberOfThreads> <LogFile>/tmp/prolingaval.log</LogFile> <LogLevel>5</LogLevel> <ServerCompressionLevel>0</ServerCompressionLevel> <LanguageValidationFile>/usr/share/prolinga/langvalid.xml</LanguageValidationFile> <RepositoryHost>localhost</RepositoryHost> <RepositoryPort>8001</RepositoryPort> <RepositoryCompressionLevel>0</RepositoryCompressionLevel> </Server> </Service> </Configuration> </ProLinga>
There is a main section for the client program and for the local/stand alone programs. The setup of this configuration file is such that it can be combined with configuration files from other ProLinga projects.
| The name or IP number of the host where to connect to, to present a Validation Command. |
| The TCP port of the host where to connect to, to present a Validation Command. |
| Level of compression to be used on the Validate Command XML document before it is send off over the network to the Validate Web Service. 0=No Compression, 9=Best Compression. |
|
The name or IP number of the host where to bind to when
starting prolingavald as a Web Service.
|
|
The TCP port of the host where to bind to when starting
prolingavald as a Web Service.
|
|
Number of threads when starting prolingavald
as a Web Service. This means that up to NumberOfThreads
requests can be served simultanously, before they are queued.
|
| Name of the file where logging and debug info will be written to. |
| The level of logging. 0=No Logging, 2= +Messages/Errors, 3= +Soap request/response info. |
| Level of compression to be used on the Validate Command XML document before it is returned over the network to the Validate caller/client. 0=No Compression, 9=Best Compression. |
| Name of the file that holds the 4GL grammar rules and syntax definitions. |
| The name or IP number of the host where to connect to get/put Repository Objects. |
| The TCP port of the host where to connect to get/put Repository Objects. |
| Level of compression to be used on the Repository Command XML document before it is returned over the network to the Validate caller/client. 0=No Compression, 9=Best Compression. |
<< prolingavalexec | Appendix A. GNU Free Documentation License >> |