... | ... | @@ -4,7 +4,7 @@ The main configuration file of a Cameo server is an XML file usually called *con |
|
|
Let's take an example with two applications registered:
|
|
|
```xml
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<config host="gamma-machine" port="7000"
|
|
|
<config host="gamma-machine" port="7000" proxy_ports="10000, 10001, 10002"
|
|
|
polling_time="100" sleep_time="10"
|
|
|
max_applications="20"
|
|
|
log_level="FINE" log_directory="/users/cameo/log">
|
... | ... | @@ -35,6 +35,7 @@ Attributes of the *config* tag: |
|
|
--------------|-----------------------|----------------
|
|
|
host | The default interface | Hostname or IP address or localhost. The default interface can be overriden.
|
|
|
port | 7000 | The base port of the server. This is the only port fixed.
|
|
|
proxy_ports | | The three ports used by the proxy. The first two ports are accessible from outside, the third one is for internal use.
|
|
|
polling_time | 100 | Sleep duration in milliseconds between some phases of the lifecycle of an app and sleep duration in the output stream retrieval of an app.
|
|
|
sleep_time | 5 | Sleep duration in milliseconds between two requests process. It avoids the server to stall if there are two many pending requests.
|
|
|
max_applications | 65536 | Max number of running apps at a time.
|
... | ... | |