-
Notifications
You must be signed in to change notification settings - Fork 56
Building WildFly
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(v25.0.1) was verified at the time of creation of these instructions
-
RHEL (7.8, 7.9, 8.2, 8.4, 8.5)
-
With IBM Semeru Runtime (previously known as AdoptOpenJDK openj9)
sudo yum install -y tar wget- Download and install IBM Semeru Runtime (Java 11) from here.
-
With Eclipse Adoptium Temurin Runtime (previously known as AdoptOpenJDK hotspot)
sudo yum install -y tar wget- Download and install Eclipse Adoptium Temurin Runtime (Java 11) from here.
-
With OpenJDK 11
sudo yum install -y java-11-openjdk-devel
-
-
Ubuntu (18.04, 20.04, 21.04, 21.10)
-
With IBM Semeru Runtime (previously known as AdoptOpenJDK openj9)
sudo apt-get update sudo apt-get install -y tar wget- Download and install IBM Semeru Runtime (Java 11) from here.
-
With Eclipse Adoptium Temurin Runtime (previously known as AdoptOpenJDK hotspot)
sudo apt-get update sudo apt-get install -y tar wget- Download and install Eclipse Adoptium Temurin Runtime (Java 11) from here.
-
With OpenJDK 11
sudo apt-get update sudo apt-get install -y openjdk-11-jdk
-
export JAVA_HOME=<path to java>
export PATH=$JAVA_HOME/bin:$PATHTo 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.0Note: 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.
The information provided in this article is accurate at the time of writing, but on-going development in the open-source projects involved may make the information incorrect or obsolete. Please open issue or contact us on IBM Z Community if you have any questions or feedback.