It's possible to do all of the configurations you need in jBoss through the XML, and other, configuration files. But you have a cleaner way to do it - jBoss Web Console.
First things first, what is the Web Console Url?
It depends on your standalone.conf file ( it's localized in your jBoss directory in the \standalone\configuration path ). Open the file and check for the same line that is highlighted in the next figure:
Mine is at the port 9990. Open a new tab with the url localhost:port.
Now one of two things may happen:
1. You have already a user to access the management console.
2. You don't have any user configured yet.
If your at point 2, keep reading.
As explained in the Welcome page, open a command line and access the bin folder in your jboss directory. Run the add-user.bat file.
Now choose the first option Management User as you want a user to access the management web console.
For the realm you can keep ManagementRealm or set a new one.
Set the user and password.
Now you've a management user!
When you access the Web Console url again you'll be asked to authenticate. Do it so
In the console you can do many things, like:
- Check datasources
- Change environment properties
- Manage applications
And that's it!


Sem comentários:
Enviar um comentário