啟動服務:
1、首先建立一個新的“服務器”
在“Servers”面板空白處點擊右鍵,依次選擇【New】-》【Server】:
2、選擇新服務器的類型
服務器主機名默認為:localhost,類型為:Oracle WebLogic Server v10.3:
3、選擇域的文件路徑:
這里選擇WebLogic安裝路徑下的base_domain
注:我們安裝WebLogic后有兩個domain,分別為:base_domain和test_domain,其實還可以自己創建自定義的domain,點擊面板中鏈接進入新建向導。
4、啟動服務器
選擇新建的服務器,點擊右鍵,選中【Start】即可,通過控制臺(Console)面板即可看到啟動信息:
5、出現錯誤警告
提示:
The domain edit lock is owned by another session - this
deployment operation requires exclusive access to the edit lock and
hence cannot proceed.
You can release the lock in Administration Console by first disabling
"Automatically Acquire Lock and Activate Changes" in Preference,
then clicking the Release Configuration button.
解決方法:
1、進入WebLogic控制臺:
鏈接:http://localhost:7001/console/
2、進入參數(Preferences)面板:
3、將自動鎖定和激活勾選去掉:
4、點擊頁面左上角的【Release Configuration】,使剛才的設置生效: