Container Configuration

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (7)

View Page History
{column}

The container configuration is located into the file {{server.properties}} and expressed as property (key/value).
A property value can be set using the value of another property as a variable using a placeholder mechanism, and you can add your own properties:
{code}
myserver.host=localhost
petals.topology.url=http://${myserver.host}/petals/${petals.container.name}/topology.xml
{code}
The container configuration is divided into several parts:
* an [environment configuration|#EnvironmentConfig],
* a [container configuration|#ContainerConfig],
* a [logging configuration|Logging in Petals],
* the [topology|Topology Configuration] in which the container is running.

{note}
The property {{petals.environment.config.file}} does not accept placeholder.
{note}

{column}
{column:width=35%}
{section}

{anchor:EnvironmentConfig}
h1. Container environment configuration

The environment configuration aims to set the right options of the JVM. For example, it is in this configuration that you set the memory size of the JVM running your Petals ESB container.

Each installation archive comes with a default environment configuration:
For all installation, the default environment configuration file can be updated to adjust parameters to your environment. But for a Debian-based installation, it is recommended to create your own environment configuration and define it in the configuration of your Petals ESB container through the property {{petals.environment.config.file}}.


{anchor:ContainerConfig}
h1. Container configuration reference

The container configuration is located into the file {{server.properties}} and expressed as property (key/value).
A property value can be set using the value of another property as a variable using a placeholder mechanism, and you can add your own properties:
{code}
myserver.host=localhost
petals.topology.url=http://${myserver.host}/petals/${petals.container.name}/topology.xml
{code}

{note}
The property {{petals.environment.config.file}} does not accept placeholder.
{note}

{anchor:ContainerConfigRef}
h2. Container configuration reference