Building WildFly - linux-on-ibm-z/docs GitHub Wiki
General Notes:
- When following the steps below please use a standard permission user unless otherwise specified.
- A directory
/<source_root>/
will be referred to in these instructions, this is a temporary writable directory anywhere you'd like to place it.
WildFly binaries are available and can be downloaded from here. To use these binaries, different Java flavors can be installed on mentioned distributions.
Note: WildFly (v33.0.1.Final) was verified at the time of creation of these instructions
export SOURCE_ROOT=/<source_root>/
-
With IBM Semeru Runtime
- Download and install IBM Semeru Runtime (Java 11 or 17 or 21) from here.
-
With Eclipse Adoptium Temurin Runtime
- Download and install Eclipse Adoptium Temurin Runtime (Java 11 or 17 or 21) from here.
-
With OpenJDK 11
- RHEL (8.8, 8.10, 9.2, 9.4)
sudo yum install -y java-11-openjdk
- SLES (12 SP5, 15 SP5, 15 SP6)
sudo zypper install -y java-11-openjdk
- Ubuntu (20.04, 22.04, 24.04)
sudo apt-get install -y openjdk-11-jre
- RHEL (8.8, 8.10, 9.2, 9.4)
-
With OpenJDK 17
- RHEL (8.8, 8.10, 9.2, 9.4)
sudo yum install -y java-17-openjdk
- SLES (15 SP5, 15 SP6)
sudo zypper install -y java-17-openjdk
- Ubuntu (20.04, 22.04, 24.04)
sudo apt-get install -y openjdk-17-jre
- RHEL (8.8, 8.10, 9.2, 9.4)
-
With OpenJDK 21
- RHEL (8.8, 8.10, 9.2, 9.4)
sudo yum install -y java-21-openjdk
- SLES (15 SP6)
sudo zypper install -y java-17-openjdk
- Ubuntu (20.04, 22.04, 24.04)
sudo apt-get install -y openjdk-21-jre
- RHEL (8.8, 8.10, 9.2, 9.4)
Note: Versions (v11.0.21, v17.0.9 and v21.0.1.0) of IBM Semeru Runtime and (v11.0.21 and v17.0.9) of Adoptium Temurin Runtime were used at the time of creation of these instructions
export JAVA_HOME=<path to Java installation directory>
export PATH=$JAVA_HOME/bin:$PATH
To start the server, extract binary tar to /<source_root>/ and follow steps given below
export SOURCE_ROOT=/<source_root>/
- Standalone Mode
sh $SOURCE_ROOT/<wildfly-<version>_binary_folder>/bin/standalone.sh -b 0.0.0.0 -bmanagement 0.0.0.0
- Domain Mode
sh $SOURCE_ROOT/<wildfly-<version>_binary_folder>/bin/domain.sh -b 0.0.0.0 -bmanagement 0.0.0.0
Note: If the server fails to start on with the error WFLYCTL0113: '' is an invalid value for parameter instance-id. Values must have a minimum length of 1 characters
, make sure the hostname
command is installed and the environment variable is set via export HOSTNAME=`hostname`
Open http://<ip_address>:8080/
in your browser to access Web UI.