2019/04/07
添加用户:
访问该Web服务器时,提示新增用户。可在服务端执行add-user.bat(在Jboss主目录下的bin目录中) 来添加管理员用户。
add-user.bat
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) : //回车,选用默认
Username : admin //填写管理员用户名admin
Password : //填写管理员密码123456(输入后不会被现实出来)
Re-enter Password :
添加管理员后,重新启动Jboss后访问http://127.0.0.1:9990/console,会弹出要求输入用户名和密码的页面,如图1-11所示。
以上是添加用户的方法。
在验证部分我用微软的Microsoft Edge浏览器访问http://127.0.0.1:9990/console、显示无法访问此页面。
在不断重新开启关闭JBOSS数次,查了很多很多帖子和网上相关问答之后依然是访问不了,甚至马上要对系统的设置下手了。
突然灵光一现,换了之前常用的firefox浏览器,输入http://127.0.0.1:9990/console,“嗖”地成功了!!!!!!!!
最大的感想是:还好前段时间各种软件大扫除的时候还剩下个firefox与Microsoft Edge为伴...