Add users to wildfly management console to configure datasources/drivers for IDM
book
Article ID: 39417
calendar_today
Updated On:
Products
CA Identity ManagerCA Identity GovernanceCA Identity PortalCA Identity Suite
Issue/Introduction
Cannot access Wildfly Management Console (http://localhost:9990/console) as no user have been added to the system. A message displays:
"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."
Environment
OS - Windows
Wildfly/Jboss
Cause
This issue occurs if no users have been added to the Wildfly Management Console.
Resolution
Check if you have JBOSS_HOME and JAVA_HOME as Environment variables. If not:
Open "Advanced system settings" on windows.
Click on the advanced tab.
On the bottom click "Environment Variables"
A new window will open. Under System Variables click "New".
A window will open. Enter "JAVA_HOME" and the location of the jdk.
Repeat the above steps for JBOSS_HOME variable, this time choosing the variable value for the location of jboss/wildfly.
Now you can run the add-user.bat file from inside the wildfly\bin folder.
Open cmd and cd to the wildfly\bin.
Execute the add-user.bat command.
Select a) Management User
Enter the details that are requested.
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.
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.