設定 WebSphere Application Server

您可以設定 IBM® Rational® Focal Point™ 以使用 IBM WebSphere® Application Server

開始之前

程序

  1. 在「WebSphere Integrated Solutions 主控台」上,更新 JVM 引數,可設定這些引數來控制某些方面的伺服器行為。
    1. 按一下伺服器 > WebSphere Application Server
    2. 按一下 server1
    3. 按一下伺服器基礎架構 > Java 及程序管理 > 程序定義
    4. 按一下 Java 虛擬機器
    5. 起始資料堆資料堆大小上限欄位中,指定必要值。
      註: 確定電腦上有所需的可用記憶體空間。如果記憶體空間不足,則應用程式伺服器無法啟動。
    6. 一般 JVM 引數欄位中,根據您的平台新增下列 Java 引數:
      • 在 Windows 32 位元上:-Dclient.encoding.override=UTF-8 -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.library.path= <Focal Point 安裝目錄>/Focalpoint/artifacts/licenselib/windows/32 -DJAZZ_HOME=file:///<已編碼之 URL 格式的 Focal Point 安裝目錄>/Focalpoint/artifacts/wars/jazzwebui/conf/
      • 在 Windows 64 位元上:-Dclient.encoding.override=UTF-8 -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.library.path= <Focal Point 安裝目錄>/Focalpoint/artifacts/licenselib/windows/64 -DJAZZ_HOME=file:///<已編碼之 URL 格式的 Focal Point 安裝目錄>/Focalpoint/artifacts/wars/jazzwebui/conf/
      • 在 Linux 32 位元上:-Dclient.encoding.override=UTF-8 -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.library.path= <Focal Point 安裝目錄>/Focalpoint/artifacts/licenselib/linux -DJAZZ_HOME=file:///<已編碼之 URL 格式的 Focal Point 安裝目錄>/Focalpoint/artifacts/wars/jazzwebui/conf/
      • 在 Linux 64 位元上:-Dclient.encoding.override=UTF-8 -Djava.awt.headless=true -Dfile.encoding=UTF-8 -d64 -Djava.library.path=<Focal Point 安裝目錄>/Focalpoint/artifacts/licenselib/linux/64 -DJAZZ_HOME=file:///<已編碼之 URL 格式的 Focal Point 安裝目錄>/Focalpoint/artifacts/wars/jazzwebui/conf/
      • 在 Solaris 32 位元上:-Dclient.encoding.override=UTF-8 -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.library.path=<Focal Point 安裝目錄>/Focalpoint/artifacts/licenselib/solaris -DJAZZ_HOME=file:///<已編碼之 URL 格式的 Focal Point 安裝目錄>/Focalpoint/artifacts/wars/jazzwebui/conf/
      • 在 Solaris 64 位元上:-Dclient.encoding.override=UTF-8 -Djava.awt.headless=true -Dfile.encoding=UTF-8 -d64 -Djava.library.path=<Focal Point 安裝目錄>/Focalpoint/artifacts/licenselib/solaris/64 -DJAZZ_HOME=file:///<已編碼之 URL 格式的 Focal Point 安裝目錄>/Focalpoint/artifacts/wars/jazzwebui/conf/
    7. 選擇性的: 如果您已設定單一語言環境的 Rational Focal Point 安裝, 請新增 -Duser.language=<語言環境代碼>,以根據語言環境來處理區分大小寫排序。 例如:-Duser.language=en
    8. 按一下套用,然後按一下確定
    9. 如果您是使用 IBM DB2® 或 Oracle 資料庫,請指定您為 Rational Focal Point 建立的表格空間詳細資料。 按一下自訂內容,然後新增表格空間詳細資料。
      表 1. 表格空間詳細資料
      資料庫 詳細資料
      DB2 物件儲存體:
      • 名稱:focalpoint/bigObjStorage
      • 值:IN FP_BIGOBJ
      資料儲存體:
      • 名稱:focalpoint/dataStorage
      • 值:IN FP_DATA
      索引儲存體:
      • 名稱:focalpoint/indexStorage
      • 值:IN FP_INDEX
      Oracle 物件儲存體:
      • 名稱:focalpoint/bigObjStorage
      • 值:TABLESPACE FP_BIGOBJ STORAGE (initial 1m next 1m pctincrease 0)
      資料儲存體:
      • 名稱:focalpoint/dataStorage
      • 值:TABLESPACE FP_DATA STORAGE (initial 1m next 1m pctincrease 0)
      索引儲存體:
      • 名稱:focalpoint/indexStorage
      • 值:TABLESPACE FP_INDEX STORAGE (initial 1m next 1m pctincrease 0)
    10. 若要指定 Rational Focal Point 授權檔的位置,請在「自訂內容」頁面上新增下列詳細資料:
      • 名稱:focalpoint/licenseLocation
      • 值:以 port@host 格式輸入授權伺服器的位置;例如,19353@licenseserver
    11. 若要在 WebSphere Application Server 中啟用非 IBM JAX-WS Web 服務引擎,請在「自訂內容」頁面上新增下列詳細資料:
      • 名稱:com.ibm.websphere.webservices.DisableIBMJAXWSEngine
      • 值:true
    12. 若要啟用 Rational Publishing Engine 來產生報告,請在「自訂內容」頁面上新增下列詳細資料:
      • 名稱:org.eclipse.emf.common.util.URI.archiveSchemes
      • 值:wsjar wszip jar zip
    13. 若要對 Rational Focal Point 使用者啟用必要的語言環境,請指定以垂直線 (|) 區隔的必要語言環境代碼。 在「自訂內容」頁面上,新增語言環境詳細資料:
      • 若為 focalpoint/installSelectedLocales, 則值為 en|de|es|fr|it|pt,BR|ja|ko|zh,CN|zh,TW|ar|he|cs|hu|pl|ru
      • 若為 focalpoint/defaultLocale, 則只能指定 en|de|es|fr|it|pt,BR|ja|ko|zh,CN|zh,TW|ar|he|cs|hu|pl|ru 其中一個值
    14. 新增 focalpoint/fontFilefocalpoint/hostNamefocalpoint/defaultLocale 的內容值。
    15. 按一下套用,然後按一下確定
  2. 指定 Rational Focal Point 程式庫檔案的類別路徑。
    1. 按一下環境 > 共用程式庫
    2. 指定程式庫所需要的範圍。
    3. 按一下新建
    4. 指定程式庫的名稱;例如,fpjars
    5. 指定 Rational Focal Point 程式庫檔案的類別路徑。這些檔案位於 Rational Focal Point 的安裝位置: <Focal Point 安裝目錄>\Focal Point\artifacts\jars
    6. 按一下套用,然後按一下確定
  3. 配置資源環境以指定檔案儲存體。
    1. 按一下資源 > 資源環境 > 資源環境提供者
    2. 指定程式庫所需要的範圍。
    3. 按一下新建
    4. 輸入 filestorageProvider 作為資料儲存體的名稱。 輸入資料儲存體的說明,然後按一下確定
    5. 選取 filestorageProvider, 然後按一下 Referenceables 以提供參照詳細資料。
      1. 按一下新建
      2. Factory 類別名稱欄位中,輸入 com.telelogic.focalpoint.tools.filestorage.FileStorageFactory
      3. 類別名稱欄位中,輸入 com.telelogic.focalpoint.tools.filestorage.FileStorage
      4. 按一下確定
    6. 按一下資源環境項目以建立環境項目。
      1. 指定程式庫所需要的範圍。
      2. 按一下新建
      3. 名稱欄位中,輸入 filestorage
      4. JNDI 名稱欄位中,輸入 focalpoint/filestorage
      5. 按一下確定
    7. 選取 filestorage,然後指定檔案儲存體是資料庫還是檔案系統。 按一下自訂內容
      1. 按一下新建
      2. 名稱欄位中,輸入 storageClassName
      3. 欄位中,如果檔案儲存體是資料庫,請輸入 com.telelogic.focalpoint.tools.filestorage.FileStorageDB。如果檔案儲存體是檔案系統,請輸入 com.telelogic.focalpoint.tools.filestorage.FileStorageFS
      4. 確定類型是 java.lang.String
      5. 按一下確定
    8. 指定檔案儲存體的基本路徑資訊。按一下新建
      1. 名稱欄位中,輸入 basePath
      2. 如果檔案儲存體是應用程式伺服器,請指定基本路徑的值。若為資料庫檔案儲存體,請勿指定值。
      3. 按一下確定
  4. 配置 JDBC 提供者以指向資料庫的 JAR 檔。 如需配置 JDBC 提供者的相關資訊,請參閱 WebSphere Application Server 文件。
    配置資料來源時,請使用下列參數:
    表 2. 資料來源詳細資料
    資料庫 參數
    PostgreSQL
    • 資料庫類型使用者定義
    • 實作類別名稱org.postgresql.jdbc2.optional.ConnectionPool
    • 類別路徑<Focal Point 安裝目錄>\Focal Point\artifacts\fpjars\postgresql-8.1-405.jdbc3.jar
    • JNDI 名稱jdbc/focalpoint
    • 在「連線儲存區內容」中,將 websphereDefaultIsolationLevel 設為 2
    Oracle
    • 資料庫類型Oracle
    • 類別路徑:複製到 Websphere 安裝目錄/lib 位置之 ojdbc*.jar 的位置。
    • JNDI 名稱jdbc/focalpoint
    • 在「連線儲存區內容」中,新增名稱為 SetBigStringTryClob 的自訂內容,並將值設為 true。 將 websphereDefaultIsolationLevel 設為 2
    IBM DB2
    • 資料庫類型IBM DB2
    • 類別路徑db2jcc-9.5.jardb2jcc_license_cu-9.5.jar 的位置
    • JNDI 名稱jdbc/focalpoint
    • 在「連線儲存區內容」中,將 websphereDefaultIsolationLevel 設為 2

下一步

WebSphere Application Server 上安裝 Rational Focal Point 應用程式。 如需詳細資料,請參閱在 WebSphere Application Server 上安裝 Rational Focal Point

建議與意見