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.
- How to Get List of All Country Codes in Java Using Locale Class
- Unsupported major.minor version 52.0 in java
- Java - How to set custom thread name?
- Get the current timestamp in Java
- Java Spring Boot 3 Web Hello World with Gradle in IntelliJ
- [fix] NullPointerException Cannot Invoke findById because Repository is null - Java Spring
- java: unclosed string literal [Error]
- Convert Java Byte Array to String with code examples
- Error: Can not find the tag library descriptor for
- Java 8 - Convert List to Map Examples
- Java - Calculate time taken for the code to execute in milliseconds or nanoseconds
- Fix java.net.ProtocolException: Invalid HTTP method
- Java: Convert Stream to List
- Java equals method - Tutorial
- List of Java JDBC Database Driver Jars, Classes and URLs Details
- Read YAML file Java Jackson Library
- How to display Java Date Time timezone GMT/UTC offset using SimpleDateFormat
- List of Java Keywords
- Enable JSON Pretty Print in Java Jackson
- How to Word-Warp Console logs in IntelliJ
- Convert Map to List in Java 8 using Stream API
- Create a Directory using Java Code
- Ways to Convert Integer or int to Long in Java
- [Program] How to read three different values using Scanner in Java
- Java JDBC Example with Oracle Database Driver Connection
- How to initiate a photo request on iPhone from Mac Monterey - iOS
- Calculate discount amount python code - Python
- Failed to find provider info for com.facebook.katana.provider.PlatformProvider - Android
- Remove Trailing zeros BigDecimal Java - Java
- How to change directory in Git bash - Git
- [Solved] SharePoint Access Denied error editing Document Name - SharePoint
- Share Multiple Images in WhatsApp using Android Intent - WhatsApp
- Permanently Set or Change $JAVA_HOME on Mac (macOS) - MacOS