Installing and Setting up Wildfly Application Server


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.

The wildfly application server version I will be using in this context is Wildfly 10. As I mentioned in this tutorial/project (Car Rental Java Enterprise Application with Java EE) which I started some days ago, I will be using Wildfly and Java EE as my backend tools. I will be showing you how to setup wildfly application server not only for the purpose of this project/tutorial but also for other tasks you decide to go on.

  • Head over to Oracle website and download the latest version of Java SDK currently I think is JDK8u112, install it and set up your Java home in environment variables (Thankfully, that will be automatically set up during the installation).
  • Head over to Netbeans website and download the latest version of Netbeans  IDE currently I think is Netbeans 8.1 (It is usually shipped with Glassfish server). Install it and during the installation choose the folder of the previously installed JDK8u112.
  • Head over to Wildfly home and download the latest version of the serverUnzip the downloaded file to a good location notably under C:\ (make sure you have the proper administrative privileges).


  • Open the installed Netbeans IDE; under Services Tab, choose and right-click on the server node. Click on Add Server
  • A new window will open, choose wildfly application server from the list and click on next.
  • In the new window, Browse to the location where you unzipped or install the wildfly server, the path of the Configuration file will up updated automatically. Click on next, an instance of the server will be added to Netbeans IDE.


  • From Netbeans, you can start, stop, restart the server with other operations. For now, just highlight and right-click and start Server. watch the Server console output in Netbeans IDE.



  • After the server starts, check if it is seeing your Java home if it is not recognizing it, head over to your {wildfly home}/bin folder, open standalone.conf.ps1 file and uncomment lines 17 and 23 only. change them to your own correct Java home installation.


  • Open your browser, go to localhost/9990 i.e. the management interface. You will be faced with a notification to create a security user before accessing the management interface.


  • Open the bin folder in your wildfly home, double click on add-user.bat or, follow the prompt to add a management user, all management users below to the management realm which houses all management clients of the application server. The management Interface should be very accessible now.



  • You can now proceed to create Datasource which is the topic of this POST.


Please enter your comment!
Please enter your name here