WebSphere Application Server 上部署「報告 Data Services 配接器

請將配接器保存檔複製到 WebSphere® Application Server 7.0 或 8.0 的程式庫目錄中,以新增配接器外掛程式到「資料服務」應用程式中。

開始之前

部署「資料服務」應用程式之前,您必須先安裝WebSphere Application Server 7.0 或 8.0 和含有「報告 Data Services 配接器」的 Rational® Publishing Engine

如果有多部資料來源電腦,每一部電腦都必須重複這些步驟。

如果您使用 Rational RequisitePro® 配接器,請在應用程式伺服器中,配置「通用 JVM 引數」:
  1. 在瀏覽器中開啟管理主控台。範例:http://localhost:9043/ibm/console/logon.jsp
  2. 按一下伺服器 > 伺服器類型 > WebSphere Application Server
  3. 按一下 ServerName
  4. 伺服器基礎架構區段中,展開 Java 和程序管理,然後按一下程序定義
  5. 按一下 Java 虛擬機器
  6. 通用 JVM 引數欄位中,輸入下列引數:-DRJCB_IN_MTA_ONLY='RJCB' -Xquickstart
    小心: -Xquickstart 選項必須包含連字號 (-),而不是短破折號 () 或長破折號 ()。 複製這個主題中的程式碼片段,可能會將連字號轉換成短破折號或長破折號。 當出現這個轉換時,會發生錯誤,造成 Apache Tomcat 無法啟動。
  7. 按一下確定

程序

  1. 新增配接器檔案到 WebSphere Application Server 資料服務目錄中:
    1. 複製 %RPE_HOME%\web services\Data Services\product_name\eclipse\plugins 目錄的內容,將它們貼到 WebSphere Application Server 資料服務目錄的 plugins 資料夾中。 依預設,這個目錄的位置是 <WASInstallDir>\profiles\profile name\installedApps\Node Name\DataServices_war.ear\DataServices.war\WEB-INF\eclipse
    2. 複製 %RPE_HOME%\web services\Data Services\product_name\eclipse\features 目錄的內容,將它們貼到 WebSphere Application Server 資料服務目錄的 features 資料夾中。 依預設,這個目錄的位置是 <WASInstallDir>\profiles\profile name\installedApps\Node Name\DataServices_war.ear\DataServices.war\WEB-INF\features
    請勿刪除目錄所包含的任何其他檔案。 每個配接器的外掛程式都必須與 Web 應用程式的外掛程式合併起來。
    如果您在預設位置 <WASInstallDir>\profiles\profile name\installedApps\Node Name\DataServices_war.ear\DataServices.war\WEB-INF\ 中,找不到 featureseclipse 資料夾,您可以搜尋 DataServices.war 目錄。
    如果要搜尋資料服務目錄,請執行下列動作:
    1. 利用檔案瀏覽器來開啟 <WASInstallDir>
    2. 搜尋 DataServices.war 資料夾。
    3. 將外掛程式複製到 DataServices.war\WEB-INF\plugins 目錄中。
    4. 將外掛程式複製到 DataServices.war\WEB-INF\features 目錄中。
  2. 重新啟動 WebSphere Application Server

下一步

  1. 確認已正確部署「報告 Data Services 配接器」。在瀏覽器中,輸入 http://server:port/DataServices.war_context_path。 如果部署正確,頁面會顯示每個已安裝的配接器的 XML 清單。
  2. 必要的話,請針對您的產品來配置「報告 Data Services 配接器」。

意見