This page last changed on Dec 03, 2011 by alitokmen.
This page has been automatically generated by Cargo's build. Do not edit it directly as it'll be overwritten next time it's generated again.

Container Features

Feature name Java Ant Maven2 Comment
Container Instantiation ContainerFactory.createContainer("tomcat7x"...) <cargo containerId="tomcat7x".../> <containerId>tomcat7x</containerId>  
Local Container  
  Container Classpath  
  Container Start  
  Container Stop  
  Container Timeout  
  Embedded Container  
  Installed Container o.c.c.c.tomcat.Tomcat7xInstalledLocalContainer  
   Passing system properties  
   Installer  
Remote Container o.c.c.c.tomcat.Tomcat7xRemoteContainer  

Configuration Features

Deployer Features

Feature name Java Ant Maven2 Comment
Installed Deployer o.c.c.c.tomcat.TomcatCopyingInstalledLocalDeployer  
Embedded Deployer  
Remote Deployer o.c.c.c.tomcat.Tomcat7xRemoteDeployer  

Other Features

Feature name Java Ant Maven2 Comment
Debugging  

Supported Configuration properties

The tables below list both the general configuration properties as well as the container-specific ones.

Standalone Local Configuration Properties

For installed container o.c.c.c.tomcat.Tomcat7xInstalledLocalContainer
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.

Existing Local Configuration Properties

For installed container o.c.c.c.tomcat.Tomcat7xInstalledLocalContainer
Property name Java Property Supported? Default value Javadoc
cargo.hostname GeneralPropertySet.HOSTNAME localhost
cargo.java.home GeneralPropertySet.JAVA_HOME JAVA_HOME version 1.6 or newer
cargo.protocol GeneralPropertySet.PROTOCOL http
cargo.servlet.port ServletPropertySet.PORT 8080

Runtime Configuration Properties

For remote container o.c.c.c.tomcat.Tomcat7xRemoteContainer
With Tomcat 7, the Tomcat manager has multiple aspects to be careful about:
  • Your browser by default accesses the HTML-based manager whereas CARGO needs to use the text-based manager. As a result, if you want to set the RemotePropertySet.URI manually, please make sure you set the URL for the text-based manager, for example http://production27:8080/manager/text
  • The text-based manager requires to be accessed by a user with the manager-script role; and by default no user has that role. As a result, please make sure you modify your tomcat-users.xml file to give that role to a user.
    You can read more on the Tomcat documentation: http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html

Tested On

This container is automatically tested on its server using the Codehaus Cargo Continous Integration System once a day.

Document generated by Confluence on Dec 03, 2011 14:36