Sun Java Enterprise System 2005Q4 安裝指南

啟動和停止 Service Registry

Service Registry 安裝在下列位置建立 Application Server 網域:

管理網域的連接埠號為 6489。Service Registry 會在 registry 網域中自動部署為 Web 應用程式。

Procedure若要啟動 Service Registry

步驟
  1. 變更為 Service Registry 安裝目錄。

    在 Solaris 作業系統上:cd /opt/SUNWsoar/install

    在 Linux 上:cd /opt/sun/SUNWsoar/install

  2. 執行以下指令:

    在 Solaris 作業系統上: /usr/sfw/bin/ant -f ./build-install.xml appserver.domain.start

    在 Linux 上:/opt/sun/bin/ant --noconfig -f ./build-install.xml appserver.domain.start

接下來的步驟

會顯示一則訊息,告知您伺服器正在啟動。啟動程序完成後,會顯示額外的訊息。

Procedure存取 Admin Console

步驟
  1. 若要存取 Service Registry 網域的管理主控台,請在瀏覽器中使用下列 URL 格式:

    https://hostname:port
    
  2. 如果您是在安裝 Application Server 和 Service Registry 的相同系統上執行 Web 瀏覽器,請將您的本機主機指定為 hostname

    否則,請使用 Application Server 軟體執行所在的系統名稱,而非將本機主機指定為 hostname

    安裝期間指定的預設連接埠號為 6489。例如:

    https://mycomputer.example.com:6489
接下來的步驟

您應該檢視 Admin Console 登入畫面。預設登入名稱和密碼如下所示:登入:管理員密碼:12345678

Procedure若要停止 Service Registry

步驟
  1. 變更為 Service Registry 安裝目錄。

    在 Solaris 作業系統上:cd /opt/SUNWsoar/install

    Linux:cd /opt/sun/SUNWsoar/install

  2. 執行以下指令:

    在 Solaris 作業系統上:/usr/sfw/bin/ant -f ./build-install.xml appserver.domain.stop

    在 Linux 上: /opt/sun/bin/ant --noconfig -f ./build-install.xml appserver.domain.stop

  3. 如果您要停止網域,然後立即再啟動,請使用 Ant 目標 appserver.domain.bounce。