第一次進入Admin Console的時候會出現設定使用者的畫面
以下為新增使用者步驟
1.cmd指向bin目錄,鍵入指令add-user.bat
2.選擇a先設置Management User
3.Realm的名稱記得設置一樣,至於設置多個Realm的好處跟使用方法我還沒細究
4.輸入帳密 確認帳密後 確認即可
5.設置ApplicationUser 與前面步驟相同,Role設置輸入overlorduser,admin.sramp
輸入http://localhost:8180/console,會跳出輸入帳密的畫面,鍵入後就可以進入管理介面了
看一下console的port是 :10090 ,若有設置eclipse的jboss server,記得檢查這裡
要一致,否則會出現以下錯誤
JBREM000200: Remote connection failed: java.io.IOException: Received an invalid message length of 1195725856
如果帳密忘了,或是想重新設置就來這裡
jboss-as-7.1.1.Final\standalone\configuration
jboss-as-7.1.1.Final\domain\configuration
找兩個properties
mgmt-users.properties
application-users.properties
刪掉這段即可
2018年4月17日 星期二
在Eclipse內加入JBoss server [JBoss AS 7.1 , Eclipse Mars] Add JBoss server in Eclipse
除了將JBoss設置成service,對用Eclipse編譯的人將JBoss設置在IDE中會更方便。
若是第一次安裝,則會要先安裝 Jboss Tools
Selecting JBoss AS, WildFly, & EAP Server Tools will install JBoss Tools.
1.先新增JBoss Server版本,我是用7.1
直接Finish
2.檢查設置port
在eclipse打開jboss server,查看port設定
3.輸入網址
因為我這裡設置兩台Jboss 所以${jboss.socket.binding.port-offset:100} 這裡是100,一般為0
所以我的port會是8180,輸入網址有通就是成功了
若出現了以下Exception
JBREM000200: Remote connection failed: java.io.IOException: Received an invalid message length of 1195725856
則檢查一下admin console的port是否一致,參考這一篇console設置
若是第一次安裝,則會要先安裝 Jboss Tools
Selecting JBoss AS, WildFly, & EAP Server Tools will install JBoss Tools.
1.先新增JBoss Server版本,我是用7.1
直接Finish
2.檢查設置port
在eclipse打開jboss server,查看port設定
因為我這裡設置兩台Jboss 所以${jboss.socket.binding.port-offset:100} 這裡是100,一般為0
所以我的port會是8180,輸入網址有通就是成功了
若出現了以下Exception
JBREM000200: Remote connection failed: java.io.IOException: Received an invalid message length of 1195725856
則檢查一下admin console的port是否一致,參考這一篇console設置
訂閱:
文章 (Atom)









