Message at: http://127.0.0.1:9990/error/index.html
Welcome to AS 7
Your JBoss Application Server 7 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.sh script within the bin folder of your AS 7 installation
and enter the requested information.
By default the realm name used by AS 7 is "ManagementRealm" this is already selected by default.
If you have just installed and configured the JBoss server with your Eclipse IDE and while accessing Admin Console (http://127.0.0.1:9990/console/App.html) you get the above message, then its because you need to create a user for admin using add-user.sh script first to access admin console, let's see the steps to do this,
- Open Terminal (Mac OS or Linux system) or Command Prompt (Windows)
- Move to bin location : /jboss-as-7.1.1.Final/bin
- Now execute : ./add-user.sh command, you would see the following,
- Select option a
Enter the username and password details : Enter the details of the new user to add. Realm (ManagementRealm) : Username : admin Password : Re-enter Password : The username 'admin' is easy to guess Are you sure you want to add user 'admin' yes/no? yes About to add user 'admin' for realm 'ManagementRealm' Is this correct yes/no? yes Added user 'admin' to file '/Users/abc/Setups/jboss-as-7.1.1.Final/standalone/configuration/ mgmt-users.properties' Added user 'admin' to file '/Users/abc/Setups/jboss-as-7.1.1.Final/domain/configuration/ mgmt-users.properties' localhost:bin abc$
- Now try to access admin console: http://127.0.0.1:9990/console/App.html
- You would be promoted to enter username and password.
What type of user do you wish to add?
a) Management User (mgmt-users.properties)
b) Application User (application-users.properties)
(a):
Note: Username and Password cannot be the same, you will get * Error * JBAS015238: Username must not match the password. if you do so
Note: If you add the username as admin you would get a warning saying The username 'admin' is easy to guess so its better to select some other name.
More Posts related to Java,
- Get the current timestamp in Java
- Java Stream with Multiple Filters Example
- Java SE JDBC with Prepared Statement Parameterized Select Example
- Fix: UnsupportedClassVersionError: Unsupported major.minor version 63.0
- [Fix] Java Exception with Lambda - Cannot invoke because object is null
- 7 deadly java.lang.OutOfMemoryError in Java Programming
- How to Calculate the SHA Hash Value of a File in Java
- Java JDBC Connection with Database using SSL (https) URL
- How to Add/Subtract Days to the Current Date in Java
- Create Nested Directories using Java Code
- Spring Boot: JDBCTemplate BatchUpdate Update Query Example
- What is CA FE BA BE 00 00 00 3D in Java Class Bytecode
- Save Java Object as JSON file using Jackson Library
- Adding Custom ASCII Text Banner in Spring Boot Application
- [Fix] Java: Type argument cannot be of primitive type generics
- List of New Features in Java 11 (JEPs)
- Java: How to Add two Maps with example
- Java JDBC Transition Management using PreparedStatement Examples
- Understanding and Handling NullPointerException in Java: Tips and Tricks for Effective Debugging
- Steps of working with Stored Procedures using JDBCTemplate Spring Boot
- Java 8 java.util.Function and BiFunction Examples
- The Motivation Behind Generics in Java Programming
- Get Current Local Date and Time using Java 8 DateTime API
- Java: Convert Char to ASCII
- Deep Dive: Why avoid java.util.Date and Calendar Classes
More Posts:
- What is the Difference Between Microsoft SharePoint vs OneDrive - SharePoint
- ls Command to See Hidden Files - Linux
- Microsoft Teams Zoom In and Zoom Out Keyboard Shortcut - Teams
- Java JDBC Delete a Record in Database Table using PreparedStatement - Java
- Docker Run Command Examples - Part 1 - Docker
- Customizing Notepad++ New Document Line Encoding: CR/LF/CR LF - NotepadPlusPlus
- Get HTTP Request Response Headers Safari Browser - MacOS
- How to install Android Studio Chipmunk and SDK tools on macOS (2021.2) - Android-Studio