Feature name
Java API
Ant tasks
Maven 3 plugin
Comment
Container Instantiation
ContainerFactory.createContainer("jetty5x"...)
<cargo containerId="jetty5x".../>
<containerId>jetty5x</containerId>
Local Container
Container Classpath
Container Start
Container Stop
Container Timeout
Embedded Container
o.c.c.c.jetty.Jetty5xEmbeddedLocalContainer
Installed Container
Passing system properties
Installer
Remote Container
Standalone Local Configuration for installed container
Standalone Local Configuration for embedded container
o.c.c.c.jetty.Jetty5xEmbeddedStandaloneLocalConfiguration
Existing Local Configuration for installed container
Existing Local Configuration for embedded container
Runtime Configuration
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
Embedded Deployer
o.c.c.c.jetty.Jetty5xEmbeddedLocalDeployer
Remote Deployer
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 4 or newer
cargo.jetty.realm.name
JettyPropertySet.REALM_NAME
Cargo Test Realm
cargo.jvmargs
GeneralPropertySet.JVMARGS
N/A
cargo.logging
GeneralPropertySet.LOGGING
medium
cargo.port.offset
GeneralPropertySet.PORT_OFFSET
0
cargo.protocol
GeneralPropertySet.PROTOCOL
http
cargo.runtime.args
GeneralPropertySet.RUNTIME_ARGS
cargo.servlet.port
ServletPropertySet.PORT
8080
cargo.servlet.users
ServletPropertySet.USERS
cargo.standalone.ignoreNonExistingProperties
GeneralPropertySet.IGNORE_NON_EXISTING_PROPERTIES
cargo.start.jvmargs
GeneralPropertySet.START_JVMARGS
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: http://web.archive.org/web/20150506142403if_/http://dist.codehaus.org/jetty/jetty-5.1.x/jetty-5.1.15.tgz