配置 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.bat 且位於目錄 ProductDir\bin (其中 ProductDir 代表預設目錄 C:\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 版。) 然後根據您是否要將安裝與 Web 伺服器搭配使用而定,進行下列各節其中之一:

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

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

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

  1. 使用下列參數執行 CWDashboard.bat

    下面是兩個範例指令:

    重要事項:
    此程序中的某些步驟會以一或多行顯示片段指令, 並以斜線 (/) 來指示。插入換行是為了使文字符合頁面。當您輸入實際指令時,請在換行處插入空格而不要換行。
  2. 在「WebSphere 管理主控台」中,展開左導覽窗格的環境, 選取更新 Web 伺服器外掛程式鏈結, 然後選取確定
  3. 如果已啟動 ICSMonitor Application Server,請在指令行中停止它:
    C:\Program Files\IBM\WebSphere\Express60\AppServer\bin\stopServer.bat  /
     ICSMonitor
  4. 從指令行啟動 ICSMonitor Application Server:
    C:\Program Files\IBM\WebSphere\Express60\AppServer\bin\startServer.bat  /
     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.bat

    下面是兩個範例指令:

    重要事項:
    此程序中的某些步驟會以一或多行顯示片段指令, 並以斜線 (/) 來指示。插入換行是為了使文字符合頁面。當您輸入實際指令時,請在換行處插入空格而不要換行。
  2. 從指令行停止 ICSMonitor Application Server:
    C:\Program Files\IBM\WebSphere\Express60\AppServer\bin\stopServer.bat  /
     ICSMonitor
  3. 從指令行啟動 ICSMonitor Application Server:
    C:\Program Files\IBM\WebSphere\Express60\AppServer\bin\startServer.bat  /
     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