您可以設定 IBM® Rational® Focal Point™ 以使用 IBM WebSphere® Application Server。
開始之前
- 驗證是否已安裝支援的 WebSphere Application Server 的版本。
- 請確定已建立 Rational Focal Point 的資料庫綱目及表格空間。
- 如果您使用 Oracle 資料庫,請將應該在 Oracle 安裝目錄中的 ojdbc6.jar 檔,複製到下列資料夾:Websphere
安裝目錄/lib 資料夾。請確保您已刪除該位置中的舊 ojdbc*.jar 檔。
- 若要升級 Rational Focal Point,請清除伺服器快取。
- 確定電腦上有所需的可用記憶體空間。如果記憶體空間不足,則應用程式伺服器無法啟動。
程序
- 在「WebSphere Integrated Solutions 主控台」上,更新 JVM 引數,透過設定這些引數可控制伺服器行為的多個方面。
- 按一下。
- 按一下 server1。
- 按一下。
- 按一下 Java 虛擬機器。
- 在起始資料堆及資料堆大小上限欄位中,指定必要值。
- 在一般 JVM 引數欄位中,根據您的平台新增下列 Java 引數:
- 選擇性的: 如果您已設定單一語言環境的 Rational Focal Point 安裝,請根據語言環境新增 -Duser.language=locale code,以處理區分大小寫的排序。 例如:-Duser.language=en
- 按一下套用,然後按一下確定。
- 如果您是使用 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)
|
- 若要指定 Rational Focal Point 授權檔的位置,請在「自訂內容」頁面上新增下列詳細資料:
- 名稱:focalpoint/licenseLocation
- 值:以 port@host 格式鍵入授權伺服器的位置。
例如:19353@licenseserver。
- 若要在 WebSphere Application Server 中啟用非 IBM JAX-WS Web 服務引擎,請在「自訂內容」頁面上新增下列詳細資料:
- 名稱:com.ibm.websphere.webservices.DisableIBMJAXWSEngine
- 值:true
- 若要啟用 Rational Publishing Engine 來產生報告,請在「自訂內容」頁面上新增下列詳細資料:
- 名稱:org.eclipse.emf.common.util.URI.archiveSchemes
- 值:wsjar wszip jar zip
- 若要對 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
- 新增 focalpoint/fontFile、focalpoint/hostName 及 focalpoint/defaultLocale 的內容值。
- 按一下套用,然後按一下確定。
- 指定 Rational Focal Point 程式庫檔案的類別路徑。
- 按一下。
- 指定程式庫所需要的範圍。
- 按一下新建。
- 指定程式庫的名稱。例如:fpjars
- 指定 Rational Focal Point 程式庫檔案的類別路徑。這些檔案位於 Rational Focal Point 的安裝位置:
Focal Point installation directory\Focal Point\artifacts\jars。
- 按一下套用,然後按一下確定。
- 配置資源環境以指定檔案儲存體。
- 按一下。
- 指定程式庫所需要的範圍。
- 按一下新建。
- 輸入 filestorageProvider 作為資料儲存體的名稱。
輸入資料儲存體的說明,然後按一下確定。
- 選取 filestorageProvider,
然後按一下 Referenceables 以提供參照詳細資料。
- 按一下新建。
- 在 Factory 類別名稱欄位中,輸入 com.telelogic.focalpoint.tools.filestorage.FileStorageFactory。
- 在類別名稱欄位中,輸入 com.telelogic.focalpoint.tools.filestorage.FileStorage
- 按一下確定。
- 建立環境項目。
- 按一下資源環境項目。
- 指定程式庫所需要的範圍。
- 按一下新建。
- 在名稱欄位中,輸入 filestorage。
- 在 JNDI 名稱欄位中,輸入 focalpoint/filestorage。
- 按一下確定。
- 選取 filestorage,然後指定檔案儲存體資料庫詳細資料。按一下自訂內容。
- 按一下新建。
- 在名稱欄位中,輸入 storageClassName。
- 在值欄位中,鍵入 com.telelogic.focalpoint.tools.filestorage.FileStorageDB。
- 確定類型是 java.lang.String
- 按一下確定。
- 指定檔案儲存體的基本路徑資訊。按一下新建。
- 在名稱欄位中,輸入 basePath。
- 若為資料庫檔案儲存體,請勿指定值。
- 按一下確定。
- 配置 JDBC 提供者以指向資料庫的 JAR 檔。 如需配置 JDBC 提供者的相關資訊,請參閱 WebSphere Application Server 文件。
配置資料來源時,請使用下列參數:
表 2. 資料來源詳細資料| 資料庫 |
參數 |
| PostgreSQL |
- 資料庫類型:使用者定義
- 實作類別名稱:org.postgresql.jdbc2.optional.ConnectionPool
- 類別路徑:Focal Point installation directory\Focal Point\artifacts\fpjars\postgresql-8.1-405.jdbc3.jar
- JNDI 名稱:jdbc/focalpoint
- 在「連線儲存區內容」中,將 websphereDefaultIsolationLevel 設為 2
|
| Oracle |
- 資料庫類型:Oracle
- 類別路徑:複製到下列位置的 ojdbc*.jar 之位置:Websphere 安裝目錄/lib
- JNDI 名稱:jdbc/focalpoint
- 選取資料儲存庫 Helper 類別作為 Oracle11g 資料儲存庫 Helper
- 在「連線儲存區內容」中,新增名稱為 SetBigStringTryClob 的自訂內容,並將值設為 true。
將 websphereDefaultIsolationLevel 設為 2。
|
| IBM DB2 |
- 資料庫類型:IBM DB2
- 類別路徑:db2jcc-9.5.jar 及 db2jcc_license_cu-9.5.jar 的位置
- JNDI 名稱:jdbc/focalpoint
- 在「連線儲存區內容」中,將 websphereDefaultIsolationLevel 設為 2
|
下一步
在
WebSphere Application Server 上安裝
Rational Focal Point 應用程式。
如需詳細資料,請參閱
在 WebSphere Application Server 上部署 Rational Focal Point。