設定 WebSphere Application Server,以進行發佈

伺服器工具特性可讓您將專案發佈至 WebSphere® Application Server 的另一個本端或遠端安裝架構。

如果要在本端或遠端設定 WebSphere Application Server,請遵循下列步驟:

  1. 將 WebSphere Application Server 安裝在要發佈專案的本端或遠端機器上。
    重要: 建議您在安裝 Agent Controller 之前, 先安裝 WebSphere Application Server。
  2. 將 Agent Controller 安裝在與 WebSphere Application Server 相同的機器上。 本產品大部分的配置都附有 Agent Controller。請遵循本產品的安裝手冊的指示。文件中的其他部分會討論 Agent Controller。
  3. 如果您在安裝 WebSphere Application Server 之前安裝 Agent Controller,您需要在 Agent Controller 配置檔中, 定義 WebSphere Applicatiin Server 安裝名稱。
    1. 開啟 x:\plugins\com.ibm.etools.websphere.tools\config 目錄下的 pluginconfig.xml 檔,其中 x 是 Agent Controller 的安裝目錄。
    2. 找出下列區段:
      <AgentControllerEnvironment configuration="default"> 
      <Variable name="WAS_HOME_V4" value="%WAS_HOME_V4%" position="replace"/> 
      <Variable name="WAS_HOME_V5" value="%WAS_HOME_V5%" position="replace"/>
      <Variable name="WAS_HOME_V51" value="%WAS_HOME_V51%" position="replace"/>
       </AgentControllerEnvironment>
    3. 如果目標伺服器是 WebSphere Application Server 第 4 版(只用來相容於舊版),請檢查系統環境變數 WAS_HOME_V4 的值,以確定它是否設為應用程式伺服器的安裝目錄,如 C:\Program Files\WebSphere\AppServer。 如果沒有設定這個系統環境變數,請將這個 pluginconfig.xml 檔中的 WAS_HOME_V4 變數值,從 %WAS_HOME_V4% 改為安裝應用程式伺服器的目錄名稱。
    4. 如果目標伺服器是 WebSphere Application Server 5.0 版,請將這個檔案中的 WAS_HOME_V5 變數值,從 %WAS_HOME_V5% 改為安裝應用程式伺服器的目錄名稱。 將 WebSphere Application Server 重新安裝在不同的位置之後,上述變數必須更新為正確的路徑。
    5. 如果目標伺服器是 WebSphere Application Server 5.1 版,請將這個檔案中的 WAS_HOME_V51 變數值,從 %WAS_HOME_V51% 改為安裝應用程式伺服器的目錄名稱。 將 WebSphere Application Server 重新安裝在不同的位置之後,上述變數必須更新為正確的路徑。
    6. 儲存您所做的變更,然後重新啟動 Agent Controller。
      註: 如果稍後您將 WebSphere Application Server 重新安裝在不同的位置,請記得更新 pluginconfig.xml 檔,及重新啟動 Agent Controller,使變更生效。
  4. 在遠端機器上啟動 Agent Controller。 如果需要如何啟動及停止 Agent Controller 的詳細資訊,請參閱 Agent Controller 線上文件。
  5. 如果您將使用 FTP 伺服器,請確定它已啟動。
使用條款 | 讀者意見
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.