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.

Users of Jetty 11.x onwards should be aware that, as a result of the move from Java EE to Jakarta EE as part of the transfer of Java EE to the Eclipse Foundation, the primary package for all implemented APIs has changed from javax.* to jakarta.*. This will almost certainly require code changes to enable applications to migrate to Jetty 11.x and later.

Container Features

Feature name

Java API

Ant tasks

Maven 3 plugin

Comment

Container Instantiation

(tick) ContainerFactory.createContainer("jetty11x"...)

(tick) <cargo containerId="jetty11x".../>

(tick) <containerId>jetty11x</containerId>

 

Local Container

(tick)

(tick)

(tick)

 

  Container Classpath

(tick)

(tick)

(tick)

 

  Container Start

(tick)

(tick)

(tick)

 

  Container Stop

(tick)

(tick)

(tick)

 

  Container Timeout

(tick)

(tick)

(tick)

 

  Embedded Container

(tick) o.c.c.c.jetty.Jetty11xEmbeddedLocalContainer

(tick)

(tick)

 

  Installed Container

(tick) o.c.c.c.jetty.Jetty11xInstalledLocalContainer

(tick)

(tick)

 

   Passing system properties

(tick)

(tick)

(tick)

 

   Installer

(tick)

(tick)

(tick)

 

Remote Container

(tick) o.c.c.c.jetty.Jetty11xRemoteContainer

(tick)

(tick)

 

Configuration Features

Feature name

Java API

Ant tasks

Maven 3 plugin

Comment

Standalone Local Configuration for installed container

(tick) o.c.c.c.jetty.Jetty11xStandaloneLocalConfiguration

(tick)

(tick)

 

Standalone Local Configuration for embedded container

(tick) o.c.c.c.jetty.Jetty11xEmbeddedStandaloneLocalConfiguration

(tick)

(tick)

 

Existing Local Configuration for installed container

(tick) o.c.c.c.jetty.Jetty11xExistingLocalConfiguration

(tick)

(tick)

 

Existing Local Configuration for embedded container

(error)

(error)

(error)

 

Runtime Configuration

(tick) o.c.c.c.jetty.JettyRuntimeConfiguration

(tick)

(tick)

 

Static deployment of WAR

(tick)

(tick)

(tick)

 

Static deployment of expanded WAR

(tick)

(tick)

(tick)

 

Static deployment of EJB

(error)

(error)

(error)

 

Static deployment of EAR

(error)

(error)

(error)

 

Static deployment of RAR

(error)

(error)

(error)

 

Static deployment of files

(error)

(error)

(error)

 

Static deployment of OSGi Bundles

(error)

(error)

(error)

 

Deployer Features

Feature name

Java API

Ant tasks

Maven 3 plugin

Comment

Installed Deployer

(tick) o.c.c.c.jetty.Jetty9x10x11xInstalledLocalDeployer

(tick)

(tick)

 

Embedded Deployer

(tick) o.c.c.c.jetty.Jetty7x8x9x10x11xEmbeddedLocalDeployer

(tick)

(tick)

 

Remote Deployer

(tick) o.c.c.c.jetty.JettyRemoteDeployer

(tick)

(tick)

 

Other Features

Feature name

Java API

Ant tasks

Maven 3 plugin

Comment

Debugging

(tick)

(tick)

(tick)

 

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.jetty.Jetty11xInstalledLocalContainer

Property name

Java Property

Supported?

Default value

Javadoc

cargo.hostname

GeneralPropertySet.HOSTNAME

(error)

localhost

 

cargo.java.home

GeneralPropertySet.JAVA_HOME

(tick)

JAVA_HOME version 11 or newer

(green star)

cargo.jetty.connector.https.port

JettyPropertySet.CONNECTOR_HTTPS_PORT

(tick)

9443

(green star)

cargo.jetty.connector.keystoreFile

JettyPropertySet.CONNECTOR_KEY_STORE_FILE

(tick)

N/A

(green star)

cargo.jetty.connector.keystorePass

JettyPropertySet.CONNECTOR_KEY_STORE_PASSWORD

(tick)

N/A

(green star)

cargo.jetty.connector.keystoreType

JettyPropertySet.CONNECTOR_KEY_STORE_TYPE

(tick)

N/A

(green star)

cargo.jetty.deployer.createContextXml

JettyPropertySet.DEPLOYER_CREATE_CONTEXT_XML

(tick)

true

(green star)

cargo.jetty.modules

JettyPropertySet.MODULES

(tick)

server,ext,http,annotations,plus,jsp,deploy

(green star)

cargo.jetty.realm.name

JettyPropertySet.REALM_NAME

(tick)

Cargo Test Realm

(green star)

cargo.jetty.servlet.default.useFileMappedBuffer

JettyPropertySet.USE_FILE_MAPPED_BUFFER

(tick)

true

(green star)

cargo.jetty.session.path

JettyPropertySet.SESSION_PATH

(tick)

N/A

(green star)

cargo.jvmargs

GeneralPropertySet.JVMARGS

(tick)

N/A

(green star)

cargo.logging

GeneralPropertySet.LOGGING

(tick)

medium

(green star)

cargo.port.offset

GeneralPropertySet.PORT_OFFSET

(tick)

0

(green star)

cargo.process.spawn

GeneralPropertySet.SPAWN_PROCESS

(tick)

false

(green star)

cargo.protocol

GeneralPropertySet.PROTOCOL

(tick)

http

(green star)

cargo.runtime.args

GeneralPropertySet.RUNTIME_ARGS

(tick)

N/A

(green star)

cargo.servlet.port

ServletPropertySet.PORT

(tick)

8080

(green star)

cargo.servlet.users

ServletPropertySet.USERS

(tick)

N/A

(green star)

cargo.standalone.ignoreNonExistingProperties

GeneralPropertySet.IGNORE_NON_EXISTING_PROPERTIES

(tick)

N/A

(green star)

cargo.start.jvmargs

GeneralPropertySet.START_JVMARGS

(tick)

N/A

(green star)

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.

Jetty 9.x and above can be configured to run under a Java Security Manager.

For further information on how to achieve this, please refer to the associated tip in the Maven 3 Plugin Tips page.

For embedded container o.c.c.c.jetty.Jetty11xEmbeddedLocalContainer

Property name

Java Property

Supported?

Default value

Javadoc

cargo.hostname

GeneralPropertySet.HOSTNAME

(error)

localhost

 

cargo.java.home

GeneralPropertySet.JAVA_HOME

(tick)

JAVA_HOME version 11 or newer

(green star)

cargo.jetty.deployer.createContextXml

JettyPropertySet.DEPLOYER_CREATE_CONTEXT_XML

(tick)

true

(green star)

cargo.jetty.realm.name

JettyPropertySet.REALM_NAME

(tick)

Cargo Test Realm

(green star)

cargo.jetty.servlet.default.useFileMappedBuffer

JettyPropertySet.USE_FILE_MAPPED_BUFFER

(tick)

true

(green star)

cargo.jetty.session.path

JettyPropertySet.SESSION_PATH

(tick)

N/A

(green star)

cargo.jvmargs

GeneralPropertySet.JVMARGS

(tick)

N/A

(green star)

cargo.logging

GeneralPropertySet.LOGGING

(error)

medium

 

cargo.port.offset

GeneralPropertySet.PORT_OFFSET

(tick)

0

(green star)

cargo.protocol

GeneralPropertySet.PROTOCOL

(error)

http

 

cargo.runtime.args

GeneralPropertySet.RUNTIME_ARGS

(tick)

N/A

(green star)

cargo.servlet.port

ServletPropertySet.PORT

(tick)

8080

(green star)

cargo.servlet.users

ServletPropertySet.USERS

(tick)

N/A

(green star)

cargo.standalone.ignoreNonExistingProperties

GeneralPropertySet.IGNORE_NON_EXISTING_PROPERTIES

(tick)

N/A

(green star)

cargo.start.jvmargs

GeneralPropertySet.START_JVMARGS

(tick)

N/A

(green star)

Existing Local Configuration Properties

For installed container o.c.c.c.jetty.Jetty11xInstalledLocalContainer

Property name

Java Property

Supported?

Default value

Javadoc

cargo.hostname

GeneralPropertySet.HOSTNAME

(tick)

localhost

(green star)

cargo.java.home

GeneralPropertySet.JAVA_HOME

(tick)

JAVA_HOME version 11 or newer

(green star)

cargo.jetty.connector.https.port

JettyPropertySet.CONNECTOR_HTTPS_PORT

(tick)

9443

(green star)

cargo.jetty.connector.keystoreFile

JettyPropertySet.CONNECTOR_KEY_STORE_FILE

(tick)

N/A

(green star)

cargo.jetty.connector.keystorePass

JettyPropertySet.CONNECTOR_KEY_STORE_PASSWORD

(tick)

N/A

(green star)

cargo.jetty.connector.keystoreType

JettyPropertySet.CONNECTOR_KEY_STORE_TYPE

(tick)

N/A

(green star)

cargo.jetty.modules

JettyPropertySet.MODULES

(tick)

server,ext,http,annotations,plus,jsp,deploy

(green star)

cargo.jvmargs

GeneralPropertySet.JVMARGS

(tick)

N/A

(green star)

cargo.port.offset

GeneralPropertySet.PORT_OFFSET

(tick)

0

(green star)

cargo.process.spawn

GeneralPropertySet.SPAWN_PROCESS

(tick)

false

(green star)

cargo.protocol

GeneralPropertySet.PROTOCOL

(tick)

http

(green star)

cargo.runtime.args

GeneralPropertySet.RUNTIME_ARGS

(tick)

N/A

(green star)

cargo.servlet.port

ServletPropertySet.PORT

(tick)

8080

(green star)

cargo.start.jvmargs

GeneralPropertySet.START_JVMARGS

(tick)

N/A

(green star)

Runtime Configuration Properties

Before using the Jetty remote deployer, please read: Jetty Remote Deployer

For remote container o.c.c.c.jetty.Jetty11xRemoteContainer

Property name

Java Property

Supported?

Default value

Javadoc

cargo.hostname

GeneralPropertySet.HOSTNAME

(tick)

localhost

(green star)

cargo.jetty.deployer.url

JettyPropertySet.DEPLOYER_URL

(tick)

N/A

(green star)

cargo.remote.password

RemotePropertySet.PASSWORD

(tick)

N/A

(green star)

cargo.remote.timeout

RemotePropertySet.TIMEOUT

(tick)

120000

(green star)

cargo.remote.username

RemotePropertySet.USERNAME

(tick)

N/A

(green star)

cargo.servlet.port

ServletPropertySet.PORT

(tick)

8080

(green star)

Tested On

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://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-home/11.0.20/jetty-home-11.0.20.tar.gz