This tutorial covers WildFly application server installation and configuration as a Service on Windows.

First off, you need to download a JDK which is supported by WildFly. If you are not sure which one to download, check this article: Choosing the right JDK for WildFly and JBoss EAP 7 . Now Install the JDK : https://www.oracle.com/technetwork/java/javase/downloads/index.html

This tutorial will cover WildFly installation on Windows

Once you have installed WildFly, set the JAVA_HOME as follows:

  • Locate your Java installation directory.
  • Click the Environment Variables button.
  • Under System Variables, click New.
  • In the Variable Name field, enter "JAVA_HOME"
  • In the Variable Value field, enter your JDK or JRE installation path . ...
  • Click OK and Apply Changes as prompted.

 

Install WildFly on Windows

Navigate to https://wildfly.org/downloads/ and download the zip file with the latest stable version of WildFly application server. Unzip the archive and move to the "bin" folder.

Move to the folder "bin" which is under WildFly installation and start WildFly with:

standalone.bat

The application server will start as you can see from the Console:

15:47:25,343 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
15:47:25,432 INFO  [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBossWS 5.3.0.Final (Apache CXF 3.3.3) 
15:47:25,551 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
15:47:25,553 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
15:47:25,553 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
15:47:25,553 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 18.0.0.Final (WildFly Core 10.0.0.Final) started in 3120ms - Started 315 of 577 services (369 services are lazy, passive or on-demand)

You can check that it's running, by reaching the home page at localhost:8080

This tutorial will cover WildFly installation on Windows

Installing WildFly as a service.

In order to install WildFly as service on Windows:

  • Navigate to the dolder "JBOSS_HOME\docs\contrib\scripts\".
  • Copy the service directory to JBOSS_HOME\bin
  • Open an Admin Shell and navigate into the service folder
  • Run "service.bat install"

This tutorial will cover WildFly installation on Windows

Next open windows Services, you should see Wildfly installed, you can now start it from here and set it to automatic:

WildFly Windows installation

0
0
0
s2sdefault

Related articles available on mastertheboss.com

JBoss MBeans POJO

JMX MBean services are the core building blocks of the JBoss Appl

How to a dump of JNDI tree with JMX console ?

#2 JBoss Howto. This is the recipe of the day

How to configure JBoss to bind to a different IP ?

If you want to change the jboss.bind.address property use the&nbs

How to shut down JBoss from remote ?

JBoss recipe of the day

How to create multiple instances of an Mbean?

  Supposing you need two instances of an MBean, let's say one fo

JBoss classloader issues

By default JBoss (prior to version 3.2) uses a flat class loading