Add users to wildfly management console to configure datasources/drivers for IDM

book

Article ID: 39417

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Risk Analytics CA Secure Cloud SaaS - Arcot A-OK (WebFort) CLOUDMINDER ADVANCED AUTHENTICATION CA Secure Cloud SaaS - Advanced Authentication CA Secure Cloud SaaS - Identity Management CA Secure Cloud SaaS - Single Sign On

Issue/Introduction

Cannot access Wildfly Management Console (http://localhost:9990/console) as no user have been added to the system.  A message displayed -

"You have not yet added any users to be able to access the admin console. You can add a new user by executing the add-user.bat script within the bin folder of your EAP 6 installation."

 

Cause

This issue occurs if no users have been added to the Wildfly Management Console.

Environment

OS - Windows 
Wildfly/Jboss

Resolution

1) Check and see if you have JBOSS_HOME and JAVA_HOME as Environment variables. To do this open "Advanced system settings" on windows. Click on the advanced tab. On the bottom click "Environment Variables"

2) A new window will open and under System Variables click "New". A window will open enter "JAVA_HOME" and the location of the jdk.

<Please see attached file for image>

pic1.png

3) Repeat the same step 2 for JBOSS_HOME variable, this time choosing the variable value for the location of jboss/wildfly.

4) Now you can run the add-user.bat file from inside the wildfly\bin folder. Open cmd and cd to the wildfly\bin and execute the add-user.bat command. Select a) Management User

<Please see attached file for image>

pic2.png

5) Enter the details that are requested (See screenshot below). On the last question "About to add user 'Temp' for realm 'ManagementRealm' Is this correct yes/no? Choose yes and this user will be successfully created. 

<Please see attached file for image>

pic3.png

6) You can now access http://localhost-9990/console with the username created and you can now deploy/configure datasources & drivers through a UI for IDM. 

Attachments

1558695272952000039417_sktwi1f5rjvs16i3r.png get_app
1558695271318000039417_sktwi1f5rjvs16i3q.png get_app
1558695269709000039417_sktwi1f5rjvs16i3p.png get_app
1558695267771000039417_sktwi1f5rjvs16i3o.png get_app
1558695265899000039417_sktwi1f5rjvs16i3n.png get_app
1558695264161000039417_sktwi1f5rjvs16i3m.png get_app