WildFly 22 comes with two versions: Jakarta EE 8 Full & Web Distribution and the WildFly Preview EE 9 Distribution. Users of the WildFly Preview EE 9 Distribution 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 EE 9 and later.

Container Features

Feature name

Java API

Ant tasks

Maven 3 plugin

Comment

Container Instantiation

(tick) ContainerFactory.createContainer("wildfly22x"...)

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

(tick) <containerId>wildfly22x</containerId>

 

Local Container

(tick)

(tick)

(tick)

 

Container Classpath

(tick)

(tick)

(tick)

Read more on JBoss 7.x onwards and WildFly container classpath

Container Start

(tick)

(tick)

(tick)

 

Container Stop

(tick)

(tick)

(tick)

 

Container Timeout

(tick)

(tick)

(tick)

 

Embedded Container

(error)

(error)

(error)

 

Installed Container

(tick) o.c.c.c.wildfly.WildFly22xInstalledLocalContainer

(tick)

(tick)

 

   Passing system properties

(tick)

(tick)

(tick)

 

   Installer

(tick)

(tick)

(tick)

 

Remote Container

(tick) o.c.c.c.wildfly.WildFly22xRemoteContainer

(tick)

(tick)

 

Configuration Features

Deployer Features

Feature name

Java API

Ant tasks

Maven 3 plugin

Comment

Installed Deployer

(tick) o.c.c.c.wildfly.WildFly22xInstalledLocalDeployer

(tick)

(tick)

 

Embedded Deployer

(error)

(error)

(error)

 

Remote Deployer

(tick) o.c.c.c.wildfly.WildFly22xRemoteDeployer

(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.wildfly.WildFly22xInstalledLocalContainer

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 8 or newer

(green star)

cargo.jboss.ajp.port

JBossPropertySet.JBOSS_AJP_PORT

(tick)

8009

(green star)

cargo.jboss.configuration

JBossPropertySet.CONFIGURATION

(tick)

standalone

(green star)

cargo.jboss.deployer.keepOriginalWarFilename

JBossPropertySet.DEPLOYER_KEEP_ORIGINAL_WAR_FILENAME

(tick)

false

(green star)

cargo.jboss.deployment.dir

JBossPropertySet.ALTERNATIVE_DEPLOYMENT_DIR

(tick)

N/A

(green star)

cargo.jboss.https.port

JBossPropertySet.JBOSS_HTTPS_PORT

(tick)

8443

(green star)

cargo.jboss.management-http.port

JBossPropertySet.JBOSS_MANAGEMENT_HTTP_PORT

(tick)

9990

(green star)

cargo.jboss.management-https.port

JBossPropertySet.JBOSS_MANAGEMENT_HTTPS_PORT

(tick)

9993

(green star)

cargo.jboss.modules.dir

JBossPropertySet.ALTERNATIVE_MODULES_DIR

(tick)

modules

(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

(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)

cargo.wildfly.script.cli.embedded

WildFlyPropertySet.CLI_EMBEDDED_SCRIPT

(tick)

N/A

(green star)

cargo.wildfly.script.cli.offline

WildFlyPropertySet.CLI_OFFLINE_SCRIPT

(tick)

N/A

(green star)

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.wildfly.WildFly22xInstalledLocalContainer

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 8 or newer

(green star)

cargo.jboss.ajp.port

JBossPropertySet.JBOSS_AJP_PORT

(tick)

N/A

(green star)

cargo.jboss.configuration

JBossPropertySet.CONFIGURATION

(tick)

standalone

(green star)

cargo.jboss.deployer.keepOriginalWarFilename

JBossPropertySet.DEPLOYER_KEEP_ORIGINAL_WAR_FILENAME

(tick)

false

(green star)

cargo.jboss.deployment.dir

JBossPropertySet.ALTERNATIVE_DEPLOYMENT_DIR

(tick)

N/A

(green star)

cargo.jboss.https.port

JBossPropertySet.JBOSS_HTTPS_PORT

(tick)

N/A

(green star)

cargo.jboss.management-http.port

JBossPropertySet.JBOSS_MANAGEMENT_HTTP_PORT

(tick)

9990

(green star)

cargo.jboss.management-https.port

JBossPropertySet.JBOSS_MANAGEMENT_HTTPS_PORT

(tick)

N/A

(green star)

cargo.jboss.modules.dir

JBossPropertySet.ALTERNATIVE_MODULES_DIR

(tick)

modules

(green star)

cargo.jboss.osgi.http.port

JBossPropertySet.JBOSS_OSGI_HTTP_PORT

(tick)

N/A

(green star)

cargo.jboss.remoting.transport.port

JBossPropertySet.JBOSS_REMOTING_TRANSPORT_PORT

(tick)

N/A

(green star)

cargo.jboss.script.cli.online

JBossPropertySet.CLI_ONLINE_SCRIPT

(tick)

N/A

(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.remote.password

RemotePropertySet.PASSWORD

(tick)

N/A

(green star)

cargo.remote.username

RemotePropertySet.USERNAME

(tick)

N/A

(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

(error)

N/A

 

cargo.start.jvmargs

GeneralPropertySet.START_JVMARGS

(tick)

N/A

(green star)

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.

Runtime Configuration Properties

Before using the WildFly remote deployer, please read: JBoss Remote Deployer

For remote container o.c.c.c.wildfly.WildFly22xRemoteContainer

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://download.jboss.org/wildfly/22.0.1.Final/wildfly-22.0.1.Final.zip

Copyright 2004-2024. All rights reserved unless otherwise noted.
Click here to read our privacy and cookie policy