Feature name
Java API
Ant tasks
Maven 3 plugin
Comment
Container Instantiation
ContainerFactory.createContainer("tomcat6x"...)
<cargo containerId="tomcat6x".../>
<containerId>tomcat6x</containerId>
Local Container
Container Classpath
Container Start
Container Stop
Container Timeout
Embedded Container
o.c.c.c.tomcat.Tomcat6xEmbeddedLocalContainer
Installed Container
o.c.c.c.tomcat.Tomcat6xInstalledLocalContainer
Passing system properties
Installer
Remote Container
o.c.c.c.tomcat.Tomcat6xRemoteContainer
Standalone Local Configuration for installed container
o.c.c.c.tomcat.Tomcat6xStandaloneLocalConfiguration
Standalone Local Configuration for embedded container
Existing Local Configuration for installed container
o.c.c.c.tomcat.TomcatExistingLocalConfiguration
Existing Local Configuration for embedded container
Runtime Configuration
o.c.c.c.tomcat.Tomcat6xRuntimeConfiguration
Static deployment of WAR
Static deployment of expanded WAR
Static deployment of EJB
Static deployment of EAR
Static deployment of RAR
Static deployment of files
Static deployment of OSGi Bundles
Installed Deployer
o.c.c.c.tomcat.TomcatCopyingInstalledLocalDeployer
Embedded Deployer
o.c.c.c.tomcat.TomcatEmbeddedLocalDeployer
Remote Deployer
o.c.c.c.tomcat.Tomcat6xRemoteDeployer
Debugging
The tables below list both the general configuration properties as well as the container-specific ones.
Property name
Java Property
Supported?
Default value
Javadoc
cargo.hostname
GeneralPropertySet.HOSTNAME
localhost
cargo.java.home
GeneralPropertySet.JAVA_HOME
JAVA_HOME version 5 or newer
cargo.jvmargs
GeneralPropertySet.JVMARGS
N/A
cargo.logging
GeneralPropertySet.LOGGING
medium
cargo.port.offset
GeneralPropertySet.PORT_OFFSET
0
cargo.process.spawn
GeneralPropertySet.SPAWN_PROCESS
false
cargo.protocol
GeneralPropertySet.PROTOCOL
http
cargo.rmi.port
GeneralPropertySet.RMI_PORT
8205
cargo.runtime.args
GeneralPropertySet.RUNTIME_ARGS
cargo.servlet.port
ServletPropertySet.PORT
8080
cargo.servlet.users
ServletPropertySet.USERS
admin::manager
cargo.standalone.ignoreNonExistingProperties
GeneralPropertySet.IGNORE_NON_EXISTING_PROPERTIES
cargo.start.jvmargs
GeneralPropertySet.START_JVMARGS
cargo.tomcat.ajp.port
TomcatPropertySet.AJP_PORT
8009
cargo.tomcat.connector.emptySessionPath
TomcatPropertySet.CONNECTOR_EMPTY_SESSION_PATH
true
cargo.tomcat.connector.keystoreFile
TomcatPropertySet.CONNECTOR_KEY_STORE_FILE
cargo.tomcat.connector.keystorePass
TomcatPropertySet.CONNECTOR_KEY_STORE_PASSWORD
cargo.tomcat.connector.maxHttpHeaderSize
TomcatPropertySet.CONNECTOR_MAX_HTTP_HEADER_SIZE
cargo.tomcat.connector.protocolClass
TomcatPropertySet.CONNECTOR_PROTOCOL_CLASS
cargo.tomcat.context.reloadable
TomcatPropertySet.CONTEXT_RELOADABLE
cargo.tomcat.copywars
TomcatPropertySet.COPY_WARS
cargo.tomcat.uriencoding
TomcatPropertySet.URI_ENCODING
ISO-8859-1
cargo.tomcat.useHttpOnly
TomcatPropertySet.USE_HTTP_ONLY
cargo.tomcat.webappsDirectory
TomcatPropertySet.WEBAPPS_DIRECTORY
webapps
Datasource and Resource configuration
In addition to the forementioned properties, this container configuration can also set up datasources and/or resources.
For more details, please read: DataSource and Resource Support.
cargo.tomcat.embedded.overrideJavaLogging
TomcatPropertySet.EMBEDDED_OVERRIDE_JAVA_LOGGING
cargo.remote.password
RemotePropertySet.PASSWORD
cargo.remote.timeout
RemotePropertySet.TIMEOUT
7200000
cargo.remote.uri
RemotePropertySet.URI
cargo.remote.username
RemotePropertySet.USERNAME
cargo.tomcat.deploy.update
TomcatPropertySet.DEPLOY_UPDATE
This container is automatically tested by the Continous Integration system every time there is a code change. The server used for tests is downloaded from: https://archive.apache.org/dist/tomcat/tomcat-6/v6.0.44/bin/apache-tomcat-6.0.44.zip