Steps To Install and add wildfly user groups

Windfly is just a rename of old JBoss AS software. The first iteration of the project, WildFly 8, is focused on earning rapid certification of the Java EE 7 specification, which brings simplicity, standardization and embeddability for both cloud and mobile development scenarios. Red Hat has already demonstrated a number of projects, including JBoss Application Server 7 and Infinispan, running on Raspberry Pi, plug computers and mobile phones.

The Java EE 7 specification includes WebSockets and improvements to Contexts and Dependency Injection (CDI). Over time, plans call for WildFly to incorporate and support the pillars of the technological vision of the JBoss Community: compelling functionality for polyglot programming, broad developer ecosystems and the ability to operate in hybrid cloud environments.

  1. Download or copy the “” to D:\ drive and extract the file to the default installation folder (D: / (windows) and /opt/ (linux))

This will create a directory “wildfly-8.1.0.CR1” and this will be our “WILDFLY_HOME”

Open a command prompt and navigate to the WILDFLY_HOME\bin directory

Change the <WILDFLY_HOME> according to your Jboss WildFly installation path

Run the Jboss WildFly server using the below commands to run as a service.

For Windows(64bit):

Jboss wildfly service

Jboss wildfly service

If you have a 64 bit machine then copy all the content from amd64 and paste it in D:\wildfly-8.1.0.CR1\bin folder and open command prompt in administrator mode and follow below steps.

Jboss wildfly 8

Jboss wildfly 8

cd D:\wildfly-8.1.0.CR1\bin\service

Jboss wildfly service

Jboss wildfly service

Execute “service.bat start” to start the server.

Once server started go to browser and type http://localhost:9990

Jboss wildfly

Jboss wildfly

Adding Admin User To Access Console

We need to add the user to access the admin console using below steps

Cd to WILDFLY_HOME\bin folder in command line and run the add-user.bat file like below

Jboss wildfly admin user

Jboss wildfly admin user

Here we have added admin/admin as the user and password to login.

What type of user do you wish to add?

a) Management User (

b) Application User (

(a): a

Enter the details of the new user to add.

Using realm ‘ManagementRealm’ as discovered from the existing property files.

Username : admin

The username ‘admin’ is easy to guess

Are you sure you want to add user ‘admin’ yes/no? yes

Password recommendations are listed below. To modify these restrictions edit the configuration file.

– The password should not be one of the following restricted values {root, admin, administrator}

– The password should contain at least 8 characters, 1 alphabetic character(s), 1 digit(s), 1 non-alphanumeric symbol(s)

– The password should be different from the username

Password :

JBAS152565: Password must not be equal to ‘admin’, this value is restricted.

Are you sure you want to use the password entered yes/no? yes

Re-enter Password :

What groups do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)[ ]:

About to add user ‘admin’ for realm ‘ManagementRealm’

Is this correct yes/no? yes

Added user ‘admin’ to file ‘D:\wildfly-8.1.0.CR1\standalone\configuration\’

Added user ‘admin’ to file ‘D:\wildfly-8.1.0.CR1\domain\configuration\’

Added user ‘admin’ with groups to file ‘D:\wildfly-8.1.0.CR1\standalone\configuration\’

Added user ‘admin’ with groups to file ‘D:\wildfly-8.1.0.CR1\domain\configuration\’

Is this new user going to be used for one AS process to connect to another AS process?

e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls.

yes/no? yes

To represent the user add the following to the server-identities definition <secret value=”YWRtaW4=” />

Press any key to continue . . .

To access the admin console open browser http://localhost:9990/ and use admin/admin as user name and password.

In case of any ┬ęCopyright or missing credits issue please check CopyRights page for faster resolutions.

2 Responses

  1. Michael says:

    The part the replace the file wildfly-service.exe with the 64bit version is not needed. The script file checks if the jboss run on a 64bit machine.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.