Red Hat AMQ 6
As of February 2025, Red Hat is no longer supporting Red Hat AMQ 6. If you are using AMQ 6, please upgrade: Migrating to AMQ 7.Chapter 3. Adding a Remote Console User
Abstract
The server's remote command console is not configured with a default user. Before you can connect to the server's console remotely, you must add a user to the configuration.
Red Hat JBoss A-MQ is not installed with a default user for the remote console. Before you can remotely manage a server, you must add a user by editing
InstallDir/etc/users.properties.
Important
The information in this file is unencrypted so it is not suitable for environments that require strict security.
To add a user:
- Open
InstallDir/etc/users.propertiesin your favorite text editor. - Locate the line
# admin=admin,admin.This line specifies a useradminwith the passwordadminand the roleadmin. - Uncomment the line by removing the leading
#. - Change the first
adminto the desired user name. - Change the
adminto the desired password. - Save the changes.
- If you intend to use the ActiveMQ Web console, you must specify the credentials for it. Open
InstallDir/etc/system.propertiesin your favorite text editor and search for the following lines:# # Authentication - must match an entry in user.properties with the admin privilege # #activemq.jmx.user=admin #activemq.jmx.password=admin
# # Authentication - must match an entry in user.properties with the admin privilege # #activemq.jmx.user=admin #activemq.jmx.password=adminCopy to Clipboard Copied! Toggle word wrap Toggle overflow Uncomment theactivemq.jmx.userandactivemq.jmx.passwordsettings (by removing the leading#) and change the username and password values to be the same as the values you just defined in theetc/users.propertiesfile.