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,
- Java equals method - Tutorial
- Unbound classpath container: JRE System Library [JavaSE-1.7]
- Spring Boot: @RequestBody not applicable to method
- Java 8: Steam map with Code Examples
- Java Program: Random Number Generator
- Java java.time.Clock class code examples [Java Date Time API]
- Fix: type argument is not within bounds of type-variable T
- [Fix] java.net.MalformedURLException: unknown protocol
- Java 7 addSuppression() and getSuppression() Exception Handling
- Convert Java Array to ArrayList Code Example
- How to Word-Warp Console logs in IntelliJ
- Ways Compare Dates in Java Programming with Examples
- Remove Trailing zeros BigDecimal Java
- CRUD operations in Spring Boot + JDBC
- [Java Threads] Should we extend Thread Class or implement Runnable interface
- Json Serialization and Deserialization using Java Jackson
- Create simple struts2 project using maven commands
- How to install Java OpenJDK 11 on Alpine Linux
- Unsupported major.minor version 52.0 in java
- Error: Can not find the tag library descriptor for
- Java: Convert String to Binary
- How to run Java Unit Test cases with Apache Maven?
- Java: Testing Private Methods in JUnit using reflection API Example
- Java JDBC Connection with MySQL Driver in VS Code + Troubleshooting
- Java Join Strings with Comma Separator
More Posts:
- Fix SharePoint Error - The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started - SharePoint
- Outlook and Hotmail not working - email issue, message not delivered, send receive problem - Microsoft
- Set width and height for the label in tkinter - Python
- How to install zsh shell on Ubuntu - Ubuntu
- AlertDialog with image using ImageView Example - Android
- Bash - How to check if a Command Failed? - Bash
- Android Studio: Cannot perform refactoring operation - Android-Studio
- MainActivity error: cannot find symbol FloatingActionButton - Android