前言:JBOSS7 重新部署,首席遇到非127.0.0.1 地址无法访问JBOSS控制台,前篇文章已解决。目前遇到访问控制台需要执行JBOSS7 bin 目录下add-user.sh
/wls/jbossserver/jboss-as-7.1.1.Final/bin/
[wls81@nfs-1 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): mgm^H^H^[
* Error *
JBAS015251: Invalid response. (Valid responses are A, a, B, or b)
What type of user do you wish to add?
a) Management User (mgmt-users.properties)
b) Application User (application-users.properties)
(a): a
Enter the details of the new user to add.
Realm (ManagementRealm) : manager
Username : manager
Password :
Re-enter Password :
* Error *
JBAS015238: Username must not match the password.
Enter the details of the new user to add.
Realm (manager) : ma^H
Username (manager) : manager
Password :
Re-enter Password :
* Error *
JBAS015238: Username must not match the password.
Enter the details of the new user to add.
Realm (m) : management^Z
[9]+ Stopped ./add-user.sh
[wls81@nfs-1 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): a
Enter the details of the new user to add.
Realm (ManagementRealm) : ManagementRealm
Username : manager
Password :
Re-enter Password :
About to add user 'manager' for realm 'ManagementRealm'
Is this correct yes/no? yes
Added user 'manager' to file '/wls/jbossserver/jboss-as-7.1.1.Final/standalone/configuration/mgmt-users.properties'
Added user 'manager' to file '/wls/jbossserver/jboss-as-7.1.1.Final/domain/configuration/mgmt-users.properties'
[wls81@nfs-1 bin]$ pwd