我目前正在使用JBoss 6.2。我正在尝试添加用户,以便我可以访问Jboss的Web控制台。这是我添加用户的方式:
[user@server bin]$ ./add-user.sh
What type of user do you wish to add?
a) Management User (mgmt-users.properties)
b) Application User (application-users.properties)
(a):
Enter the details of the new user to add.
Using realm 'ManagementRealm' as discovered from the existing property files.
Username : adminuser
Password :
Re-enter Password :
What groups do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)[ ]: admin
About to add user 'adminuser' for realm 'ManagementRealm'
Is this correct yes/no? yes
Added user 'adminuser' to file '/local/jboss-eap- 6.2/standalone/configuration/mgmt-users.properties'
Added user 'adminuser' to file '/local/jboss-eap-6.2/domain/configuration/mgmt-users.properties'
Added user 'adminuser' with groups admin to file '/local/jboss-eap-6.2/standalone/configuration/mgmt-groups.properties'
Added user 'adminuser' with groups admin to file '/local/jboss-eap-6.2/domain/configuration/mgmt-groups.properties'
Is this new user going to be used for one AS process to connect to another AS process?
e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls.
yes/no? no
[user@server bin]$
我尝试了很多次,但是当我使用以下方式访问服务器时: 服务器:9001 /控制台/
它不会让我登录。
我该如何解决这个问题?我可以研究一下相关的日志吗?我甚至重新启动了JBoss,但它没有帮助。
我可以看到该条目存在于mgmt-users.properties中。 管理用户= e6f48b3bbae149b83f233b4351242604