Tag Archives: how to install wildfly on windows

How to Install Wildfly on windows

“WildFly  formerly known as JBoss AS, or simply JBoss, is an application server authored by JBoss, now developed by Red Hat. WildFly is written in Java and implements the Java Platform, Enterprise Edition (Java EE) specification. It runs on multiple platforms.”

In this tutorial we will be installing Wildfly on windows server 2016, however the process should be much the same on windows 10.

Installing Java

First we will download and install Java JRE. it is available from:

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

And we downloaded the windows 64 bit version.

Once it downloads install it.

Downloading WildFly

Go to http://wildfly.org/downloads and click to download the Java EE7 Full & Web Distribution

When it downloads unzip it to your C drive.

Running WildFly for the first time.

Navigate to C:\wildfly-12.0.0.Final\bin and run standalone.ps1 in PowerShell

When WildFly has started you should see a screen similar to the below:

Now open a browser and navigate to http://localhost:8080 you should see the WildFly welcome screen:

 

  • Next minimise your browser and navigate back to  C:\wildfly-12.0.0.Final\bin.
  • Run add-user.ps1 with PowerShell by right clicking and selecting run with PowerShell

 

Add a management user by pressing enter at the below screen (it is the default option)

  • Enter the details of your user.
  • when asked “What groups do you want this user to belong to?” press enter
  • and then type yes to add the user for the realm ManagemntRealm

  • When asked; “Is this new user going to be used for one AS process to connect to another AS process?” type no
  • Return to the PowerShell window that has WildFly running and press ctrl+c to kill the process, the PowerShell window should close.
  • open a bowser and navigate to
    • http://localhost:9990
  • You will be promoted to log in, enter the username and password that you set and click ok.

  • You should now see the management console.

 

  • Minimise your browser and navigate back to the PowerShell window and stop wildly by running ctrl + c

Installing WildFly as a service.

  • navigate to C:\wildfly-12.0.0.Final\docs\contrib\scripts\
  • Copy the service directory to C:\wildfly-12.0.0.Final\bin

  • open up and admin CMD and navigate into C:\wildfly-12.0.0.Final\bin\service

Next run “service.bat install”

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

a full video tutorial can be found here: