I installed WildFly server today into Eclipse, and I'm able to run web applications. I'd like to be able to log in to the Admin Console. I haven't enabled it though, so I see this :
Your WildFly Application Server is running.
However you have not yet added any users to be able to access the admin console.
To add a new user execute the add-user.bat script within the bin folder of your WildFly installation and enter the requested information.
Well, I ran the add-user.bat script in the bin directory of my wildfly install. It seemed to run without any problems. I still get the same error.
I'm guessing that Eclipse copies my wildfly install and places it in some hidden directory. No idea where that is though. Any ideas?
Section 3.3 of the Wildfly 12 Admin Guide describes the process for adding a user in order to be able to access Wildfly's admin console:
There are a couple of potential pitfalls when running the add-user utility:
But rather than diagnosing what went wrong, it's easier just to try adding another user, following the directions given in the documentation shown above. For reference, here's a screen shot of what I did, where the yellow horizontal bars are points at which I submitted something from the keyboard:
After running add-user.bat I was able to login to the Admin Console (http://localhost:9990) using the user I had just created, and no server restart was necessary. My environment was Eclipse Photon on Windows 10.
If you are still having problems, open the file mgmt-users.properties to see whether your user was added successfully. In my case a line was added for the new user that looked like this: