配置 Web 型工具來使用 WebSphere Application Server 或 WebSphere Application Server Express

本節將說明如何配置 Web 型工具,使用 WebSphere Application Server 或 WebSphere Application Server Express。 如需使用 Tomcat 的相關指示,請參閱配置 Web 型工具以使用 Tomcat

若要配置 Web 型工具,使用 WebSphere Application Server 或 WebSphere Application Server Express, 您可以執行 WebSphere Business Integration Server Express 及 Express Plus 隨附的 Script。這個 Script 名為 CWDashboard.sh,位於 ProductDir/bin 目錄中 (其中的 ProductDir 依預設是代表 Home_directory/IBM/WebSphereServer 目錄)。您可以執行此 Script 以配置工具來使用或不使用 Web 伺服器,例如 IBM HTTP Web Server。

繼續進行之前,請確定您已經安裝 WebSphere Application Server 或 WebSphere Application Server Express 5.1.1 (或更新版本)。(您可以從 WebSphere Business Integration Server Express 或 Express Plus 的「啟動程式」來安裝 WebSphere Application Server Express 6.0 版。) 然後根據您是否要將安裝與 Web 伺服器搭配使用而定,進行下列各節其中之一:

在使用 Web 伺服器時配置 Web 型工具

WebSphere Application Server 隨附於 Web 伺服器; 但 WebSphere Application Server Express 並不隨附於 Web 伺服器。如果您使用 WebSphere Application Server Express 且想使用 Web 伺服器,則必須取得並安裝 IBM HTTP Server (可免費從 IBM 網站取得) 和 WebSphere Application Server Express 的 Web 伺服器外掛程式。如需相關資訊,請參閱 WebSphere Application Server Express 文件。

註:
在此章節中,WASinstDir 是指 WebSphere Application Server 或 WebSphere Application Server Express 5.1.1 或更新版本的安裝目錄。

若要配置 Web 型工具以使用 Web 伺服器,請執行下列步驟:

  1. 執行 CWDashboard.sh,參數如下:

    以下是指令範例:

    Home_directory/IBM/WebSphereServer/CWDashboard.sh        \
     "opt/IBM/WebSphere/Express60/AppServer"                 \
     hostname.ibm.com "Home_directory/IBM/WebSphere/Server"   \
     "DB2_Installation_Dir/java" y
    重要事項:
    此程序中的某些步驟會以一或多行顯示片段指令, 並以斜線 (\) 來指示。插入換行是為了使文字符合頁面。當您輸入實際指令時,請在換行處插入空格而不要換行。
  2. 在「WebSphere 管理主控台」(可從遠端 Windows 機器上的 Web 瀏覽器存取) 中, 展開左導覽窗格的環境,選取更新 Web 伺服器外掛程式鏈結 (WebSphere Application Server Express 6.0 無法使用), 然後選取確定
  3. 如果已啟動 ICSMonitor Application Server,請停止它:
    WASinstDir/bin/stopServer.sh ICSMonitor
  4. 啟動 ICSMonitor Application Server:
    WASinstDir/bin/startServer.sh ICSMonitor
  5. 若要存取「系統監視器」或「失敗事件管理程式」,請輸入 URL:
    http://hostname/ICSMonitor
    其中 hostname 是安裝 WebSphere Application Server 或 WebSphere Application Server Express 的電腦名稱。
  6. 若要存取「Web 部署」,請輸入 URL:
    http://hostname/WebDeployment
    其中 hostname 是安裝 WebSphere Application Server 或 WebSphere Application Server Express 的電腦名稱。

在不使用 Web 伺服器時配置 Web 型工具

如果未使用 Web 伺服器與您的安裝搭配,則必須配置 Web 型工具,才能使用不同的埠號。 請執行下列動作:

  1. 使用下列參數執行 ProductDir/bin/CWDashboard.sh

    以下是指令範例:

    Home_directory/IBM/WebSphereServer/CWDashboard.sh        \
     "/opt/IBM/WebSphere/Express60/AppServer"                 \ 
     hostname.ibm.com "Home_directory/IBM/WebSphereServer      \
     "DB2_Installation_Dir/java" n 7089 7043
    重要事項:
    此程序中的某些步驟會以一或多行顯示片段指令, 並以斜線 (\) 來指示。插入換行是為了使文字符合頁面。當您輸入實際指令時,請在換行處插入空格而不要換行。
  2. 如果已啟動 ICSMonitor Application Server,請停止它:
    WASinstDir/bin/stopServer.sh ICSMonitor
  3. 啟動 ICSMonitor Application Server:
    WASinstDir/bin/startServer.sh ICSMonitor
  4. 若要存取「系統監視器」和「失敗事件管理程式」,請輸入 URL:
    http://hostname:portnumber/ICSMonitor
    其中 hostname 是安裝 WebSphere Application Server 或 WebSphere Application Server Express 的電腦名稱。
  5. 若要存取「Web 部署」,請輸入 URL:
    http://hostname:portnumber/WebDeployment
    其中 hostname 是安裝 WebSphere Application Server 或 WebSphere Application Server Express 的電腦名稱。

Copyright IBM Corp. 2004, 2005