bestlong 怕失憶論壇
標題:
JBossAS7 管理界面(Management console)無法進入
[打印本頁]
作者:
bestlong
時間:
2013-5-3 13:40
標題:
JBossAS7 管理界面(Management console)無法進入
使用 jboss-as-7.1.1.Final 版本
安裝好 JBoss Application Server 7 並完成啟動後
進入 http://localhost:8080/ 有看到畫面
再來執行了 add-user.bat 完成了新增管理者的作業
也檢查 mgmt-users.properties 內有增加了
進入 http://localhost:8080/console 網址
卻是顯示下列訊息:
The web console could not be loaded. Please refresh this page to start over.
依提示訊息重讀一樣是無法進入的
作者:
bestlong
時間:
2013-5-3 15:40
因為要架設 JBossAS7 的 Win 2000 伺服器無法任意安裝其他瀏覽器
我修改 standalone.xml 設定將 console 開放到所有 ip 都可以連入
<interfaces>
<interface name="management">
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
</interface>
</interfaces>
複製代碼
改成
<interfaces>
<interface name="management">
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
</interface>
</interfaces>
複製代碼
因為我的啟動參數中有設定 -b 0.0.0.0 所以 jboss.bind.address 就不會用 127.0.0.1 預設值
改完設定重新啟動 JBossAS7 之後
在別台電腦使用 Chrome 或 Firefox 或 IE9 連入
都有出現登入對話框
不會只有顯示 The web console could not be loaded. Please refresh this page to start over. 訊息
看來原因是 JBossAS7 的 console 程式使用的網頁技術規格必須是瀏覽器有支援與相容
所以當使用了太舊的瀏覽器(例如 IE6)就會出現這樣的問題
作者:
bestlong
時間:
2013-5-3 16:14
如果有加寫注解的習慣的人要注意的就是
使用 console 修改設定可是會直接覆寫掉 standalone.xml 的內容
不過 JBossAS7 會自動把每次異動前的舊版設定檔另外存放到 standalone_xml_history/ 目錄下
凡改過必留下痕跡,才算的上是企業級應用的系統
歡迎光臨 bestlong 怕失憶論壇 (http://www.bestlong.idv.tw/)
Powered by Discuz! X1.5