Feature name
Java API
Ant tasks
Maven 3 plugin
Comment
Container Instantiation
ContainerFactory.createContainer("wildfly20x"...)
<cargo containerId="wildfly20x".../>
<containerId>wildfly20x</containerId>
Local Container
Container Classpath
Read more on JBoss 7.x onwards and WildFly container classpath
Container Start
Container Stop
Container Timeout
Embedded Container
Installed Container
o.c.c.c.wildfly.WildFly20xInstalledLocalContainer
Passing system properties
Installer
Remote Container
o.c.c.c.wildfly.WildFly20xRemoteContainer
Standalone Local Configuration for installed container
o.c.c.c.wildfly.WildFly20xStandaloneLocalConfiguration
Standalone Local Configuration for embedded container
Existing Local Configuration for installed container
o.c.c.c.wildfly.WildFly20xExistingLocalConfiguration
Existing Local Configuration for embedded container
Runtime Configuration
o.c.c.c.wildfly.WildFly20xRuntimeConfiguration
Static deployment of WAR
Static deployment of expanded WAR
Static deployment of EJB
Static deployment of EAR
Static deployment of RAR
Static deployment of (JBoss) HAR
Static deployment of (JBoss) SAR
Static deployment of (JBoss) AOP
Static deployment of files
Static deployment of OSGi Bundles
Installed Deployer
o.c.c.c.wildfly.WildFly20xInstalledLocalDeployer
Embedded Deployer
Remote Deployer
o.c.c.c.wildfly.WildFly20xRemoteDeployer
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 8 or newer
cargo.jboss.ajp.port
JBossPropertySet.JBOSS_AJP_PORT
8009
cargo.jboss.configuration
JBossPropertySet.CONFIGURATION
standalone
cargo.jboss.deployer.keepOriginalWarFilename
JBossPropertySet.DEPLOYER_KEEP_ORIGINAL_WAR_FILENAME
false
cargo.jboss.deployment.dir
JBossPropertySet.ALTERNATIVE_DEPLOYMENT_DIR
N/A
cargo.jboss.https.port
JBossPropertySet.JBOSS_HTTPS_PORT
8443
cargo.jboss.management-http.port
JBossPropertySet.JBOSS_MANAGEMENT_HTTP_PORT
9990
cargo.jboss.management-https.port
JBossPropertySet.JBOSS_MANAGEMENT_HTTPS_PORT
9993
cargo.jboss.modules.dir
JBossPropertySet.ALTERNATIVE_MODULES_DIR
modules
cargo.jvmargs
GeneralPropertySet.JVMARGS
cargo.logging
GeneralPropertySet.LOGGING
medium
cargo.port.offset
GeneralPropertySet.PORT_OFFSET
0
cargo.process.spawn
GeneralPropertySet.SPAWN_PROCESS
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
cargo.wildfly.script.cli.embedded
WildFlyPropertySet.CLI_EMBEDDED_SCRIPT
cargo.wildfly.script.cli.offline
WildFlyPropertySet.CLI_OFFLINE_SCRIPT
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.jboss.osgi.http.port
JBossPropertySet.JBOSS_OSGI_HTTP_PORT
cargo.jboss.remoting.transport.port
JBossPropertySet.JBOSS_REMOTING_TRANSPORT_PORT
cargo.jboss.script.cli.online
JBossPropertySet.CLI_ONLINE_SCRIPT
cargo.remote.password
RemotePropertySet.PASSWORD
cargo.remote.username
RemotePropertySet.USERNAME
Before using the WildFly remote deployer, please read: JBoss Remote Deployer
cargo.jboss.clustered
JBossPropertySet.CLUSTERED
cargo.jboss.profile
JBossPropertySet.PROFILE
cargo.remote.uri
RemotePropertySet.URI
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://download.jboss.org/wildfly/20.0.1.Final/wildfly-20.0.1.Final.zip