...
Top level configuration elements | Description | Mandatory? | Default value |
---|---|---|---|
| Action to execute. These can be:
| No default | |
<containerId> | Id of the container to use. Valid values can be found in the description page for each container | No default | |
| The container's type. Valid values are | Default value is | |
| Location where the container is installed. If specified in conjunction with the | No default If the user has not defined any | |
Defines the location of a container distribution zip that will be downloaded and installed | No default If the user has not defined any | ||
The timeout after which Cargo reports an error if the container is not started or stopped |
| ||
List of
You can also use the | No default | ||
| Additional classpath entries for the classpath that will be used to start the containers. | No default | |
| Classpath entries for the classpath that will be shared the applications deployed in a container. Shared application classpath deployment is only available for local containers which support shared Application Classpaths. | No default | |
| Path to a file where Cargo logs are saved | Logs to the Ant console if no log file is specified | |
| Path to a file where container logs are saved | Logs to the file specified by the | |
| If |
| |
Definition of a Configuration | Defaults to a standalone configuration if the container is of type local and a runtime one if it's of type remote | ||
Additional configuration that is used when deploying with the Cargo Daemon. | For more information, please read: Cargo Daemon. |
...
| Description | Mandatory? | Default value | ||
---|---|---|---|---|---|
| Configuration's type. Valid values are |
| |||
| For standalone configuration this is the location where Cargo will create the configuration and for existing configuration this is where it is located | No default | |||
Values to use for various Configuration properties.
You can also use the | Default configuration properties
| ||||
A list of deployables that are going to be deployed in the container when it is started or when | No default | ||||
List of Configuration files that are to be added to a local container's configuration. Each file is specified using a | No default | ||||
List of files that are to be added to a local container's configuration. Each file is specified using a | No default | ||||
<xmlReplacements> | Values to use for various XML replacements. | No default | |||
<users> | List of users to be created in container configuration. | No default | |||
<datasources> | List of datasources to be created in container configuration. | No default |
Anchor | ||||
---|---|---|---|---|
|
| Description | Mandatory? | Default value |
---|---|---|---|
| The configuration file or directory containing configuration files. | No default | |
| The target directory, relative to configuration home, where the file should be copied | If not specified, the file will be copied to the configuration's home directory | |
| The target file name to use | The original file name |
Anchor | ||||
---|---|---|---|---|
|
| Description | Mandatory? | Default value |
---|---|---|---|
| The file, or directory, to add | No default | |
| The target directory, relative to configuration home, where the file should be copied | If not specified, the file will be copied to the configuration's home directory | |
| The target file name to use | The original file name | |
| Indicates if Cargo token replacement should be applied ( |
| |
| If any existing file should be overwritten or not |
|
Anchor | ||||
---|---|---|---|---|
|
| Description | Mandatory? | Default value |
---|---|---|---|
| Deployable type, i.e. | No default | |
| The deployable file. | No default | |
| URL on which to ping the deployed or undeployed application (to check if deployment or undeployment is successful), that should return an HTTP OK response only after the deployment is complete. If not set, the deployed or undeployed application will not be pinged, hence the deployment considered as complete as soon as the target server's method returns successfully. | No default | |
| If |
| |
User-defined properties of a deployable. | No default |
Anchor | ||||
---|---|---|---|---|
|
| Deployable Type | Description | Mandatory? | Default value |
---|---|---|---|---|
| WAR | The context name to use when deploying the web application. | Default's to the file name without the extension | |
| WAR | The path of the WAR being deployed. | Default's to the file name without the extension | |
| EAR | The path of the EAR being deployed. | Default's to the file name without the extension | |
| EAR | The name of EAR deployable (it can be anything, there's no special rule). | Default's to the file name without the extension | |
| EJB | The path of the EJB being deployed. | Default's to the file name without the extension |
...
| Description | Mandatory? | Default value |
---|---|---|---|
| URL from which to download the container's ZIP or TAR.GZ file. | No default | |
| Directory in which the |
| |
| Directory in which the |
| |
Proxy server settings, if required. | No default |
Anchor | ||||
---|---|---|---|---|
|
| Description | Mandatory? | Default value |
---|---|---|---|
| Proxy host name or IP address. | No default | |
| Proxy port. | Very probably | |
| User name to connect to the proxy server. | No default | |
| Password to connect to the proxy server. | No default |
Anchor | ||||
---|---|---|---|---|
|
<user> elements | Description | Mandatory? | Default value | ||||||
---|---|---|---|---|---|---|---|---|---|
<name> | User name. | No default | |||||||
<password> | User password. | No default | |||||||
<roles> | List of roles which should be assigned to user. Example of roles configuration:
| No default |
Anchor | ||||
---|---|---|---|---|
|
<datasource> elements | Description | Mandatory? | Default value |
---|---|---|---|
<jndiName> | JNDI name where to find this DataSource. | No default | |
<connectionType> | Type of this DataSource, for example: javax.sql.XADataSource | No default | |
<transactionSupport> | Transaction support of the DataSource, for example: XA_TRANSACTION | No default | |
<driverClass> | The class name of the driver, for example: org.hsqldb.jdbcDriver | No default | |
<url> | DataSource connection URL. | No default | |
<username> | DataSource username. | No default | |
<password> | DataSource password. | Empty string | |
<id> | Identifier used in configuration files. | No default | |
<connectionProperties> | Extra properties passed to the DataSource. | No default |
Anchor | ||||
---|---|---|---|---|
|
...
| Description | Mandatory? | Default value |
---|---|---|---|
| A list of | No default | |
| A list of properties used to configure the Cargo Daemon. | No default |
| Description | Mandatory? | Default value | |
---|---|---|---|---|
| URL to connect with the daemon. | No default | ||
| The handle id to register this container with. | No default | ||
| When set to |
| ||
<cargo.daemon.username> | Username used when authenticating against the daemon host | admin | ||
<cargo.daemon.password> | Password used when authenticating against the daemon host | "" (empty String) | Empty string |