WebSphere Application Server のセットアップ

IBM® WebSphere® Application Server と 連携するように IBM Rational® Focal Point™ を セットアップできます。

始める前に

手順

  1. WebSphere Integrated Solutions Console で、JVM 引数を更新します。この引数を設定すると、サーバー動作のいくつかの面を制御できます。
    1. 「サーバー」 > 「WebSphere Application Server (WebSphere Application Servers)」をクリックします。
    2. server1」をクリックします。
    3. 「サーバー・インフラストラクチャー」 > 「Java およびプロセス管理 (Java and Process Management)」 > 「プロセス定義」を クリックします。
    4. Java 仮想マシン」をクリックします。
    5. 初期ヒープ」フィールドおよび「最大ヒープ・サイズ」フィールドに、 必要な値を指定します。
    6. 汎用 JVM 引数 (Generic JVM argument)」フィールドに、 ご使用のプラットフォームに基づいて以下の Java 引数を追加します。
      • Windows -32 ビット・システムの場合: -Dclient.encoding.override=UTF-8 -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.library.path= Focal Point installation directory/Focalpoint/artifacts/licenselib/windows/32 -DJAZZ_HOME=file:///Focal Point installation directory in the encoded URL format/Focalpoint/artifacts/wars/jazzwebui/conf/ -Dcom.ibm.team.repository.service.oauth.legacyModeFronting=true -Dsun.rmi.dgc.server.gcInterval=3600000000 -Dsun.rmi.dgc.client.gcInterval=3600000000
      • Windows -64 ビット・システムの場合: -Dclient.encoding.override=UTF-8 -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.library.path= Focal Point installation directory/Focalpoint/artifacts/licenselib/windows/64 -DJAZZ_HOME=file:///Focal Point installation directory in the encoded URL format/Focalpoint/artifacts/wars/jazzwebui/conf/ -Dcom.ibm.team.repository.service.oauth.legacyModeFronting=true-Dsun.rmi.dgc.server.gcInterval=3600000000 -Dsun.rmi.dgc.client.gcInterval=3600000000
        注: Windows プラットフォームの場合、管理コンソールで Rational Focal PointWebSphere Application Server にデプロイする場合、Java 仮想マシン始動のライセンス・ライブラリー・パスを追加する必要があります。 FP_HOME へのパスにスペースが含まれている場合、パス名は簡易書式で指定します。 例えば、パスが C:¥Program Files の場合、パス名は C:¥Progra˜ と入力します。
      • Linux -32 ビット・システムの場合:-Dclient.encoding.override=UTF-8 -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.library.path= Focal Point installation directory/Focalpoint/artifacts/licenselib/linux -DJAZZ_HOME=file:///Focal Point installation directory in the encoded URL format/Focalpoint/artifacts/wars/jazzwebui/conf/ -Dcom.ibm.team.repository.service.oauth.legacyModeFronting=true-Dsun.rmi.dgc.server.gcInterval=3600000000 -Dsun.rmi.dgc.client.gcInterval=3600000000
      • Linux -64 ビット・システムの場合: -Dclient.encoding.override=UTF-8 -Djava.awt.headless=true -Dfile.encoding=UTF-8 -d64 -Djava.library.path=Focal Point installation directory/Focalpoint/artifacts/licenselib/linux/64 -DJAZZ_HOME=file:///Focal Point installation directory in the encoded URL format/Focalpoint/artifacts/wars/jazzwebui/conf/ -Dcom.ibm.team.repository.service.oauth.legacyModeFronting=true-Dsun.rmi.dgc.server.gcInterval=3600000000 -Dsun.rmi.dgc.client.gcInterval=3600000000
      • Solaris -32 ビット・システムの場合: -Dclient.encoding.override=UTF-8 -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.library.path=Focal Point installation directory/Focalpoint/artifacts/licenselib/solaris -DJAZZ_HOME=file:///Focal Point installation directory in the encoded URL format/Focalpoint/artifacts/wars/jazzwebui/conf/ -Dcom.ibm.team.repository.service.oauth.legacyModeFronting=true-Dsun.rmi.dgc.server.gcInterval=3600000000 -Dsun.rmi.dgc.client.gcInterval=3600000000
      • Solaris -64 ビット・システムの場合: -Dclient.encoding.override=UTF-8 -Djava.awt.headless=true -Dfile.encoding=UTF-8 -d64 -Djava.library.path=Focal Point installation directory/Focalpoint/artifacts/licenselib/solaris/64 -DJAZZ_HOME=file:///Focal Point installation directory in the encoded URL format/Focalpoint/artifacts/wars/jazzwebui/conf/ -Dcom.ibm.team.repository.service.oauth.legacyModeFronting=true-Dsun.rmi.dgc.server.gcInterval=3600000000 -Dsun.rmi.dgc.client.gcInterval=3600000000
    7. オプション: Rational Focal Point のインストールを単一ロケールに設定した場合、そのロケールに基づくケース・センシティブ・ソートに対応するために、-Duser.language=locale code を追加します。 例: -Duser.language=en
    8. 適用」をクリックしてから「OK」をクリックします。
    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 から 1 つの値のみを指定できます。
    14. focalpoint/fontFilefocalpoint/hostName、 および focalpoint/defaultLocale のプロパティー値を追加します。
    15. 適用」をクリックしてから「OK」をクリックします。
  2. Rational Focal Point ライブラリー・ファイルのクラスパスを指定します。
    1. 「環境」 > 「共有ライブラリー」をクリックします。
    2. ライブラリーに必要なスコープを指定します。
    3. 新規」をクリックします。
    4. ライブラリーの名前を指定します。 例えば、fpjars などとします。
    5. Rational Focal Point ライブラリー・ファイルのクラスパスを指定します。 このファイルは、Rational Focal Point の インストール・ロケーション (Focal Point installation directory¥Focal Point¥artifacts¥jars) に あります。
    6. 適用」をクリックしてから「OK」をクリックします。
  3. ファイル・ストレージを指定するように、リソース環境を構成します。
    1. 「リソース」 > 「リソース環境」 > 「リソース環境プロバイダー」をクリックします。
    2. ライブラリーに必要なスコープを指定します。
    3. 新規」をクリックします。
    4. データ・ストレージの名前に関して、filestorageProvider と入力します。 データ・ストレージの説明を入力して、「OK」をクリックします。
    5. filestorageProvider」を選択し、 「参照可能 (Referenceables)」をクリックして参照詳細を指定します。
      1. 新規」をクリックします。
      2. ファクトリー・クラス名」フィールドに、com.telelogic.focalpoint.tools.filestorage.FileStorageFactory と入力します。
      3. クラス名」フィールドに、com.telelogic.focalpoint.tools.filestorage.FileStorage と入力します。
      4. OK」をクリックします。
    6. 環境項目を作成します。
      1. リソース環境項目 (Resource environment entries)」をクリックします。
      2. ライブラリーに必要なスコープを指定します。
      3. 新規」をクリックします。
      4. 名前」フィールドに、filestorage と入力します。
      5. JNDI 名」フィールドに、focalpoint/filestorage と入力します。
      6. OK」をクリックします。
    7. filestorage」を選択して、ファイル・ストレージ・データベースの詳細を指定します。 「カスタム・プロパティー」をクリックします。
      1. 新規」をクリックします。
      2. 名前」フィールドに、storageClassName と入力します。
      3. 」フィールドに、com.telelogic.focalpoint.tools.filestorage.FileStorageDB と入力します。
      4. タイプが java.lang.String であることを確認します。
      5. OK」をクリックします。
    8. ファイル・ストレージの基本パス情報を指定します。 「新規」をクリックします。
      1. 名前」フィールドに、basePath と入力します。
      2. データベース・ファイル・ストレージの場合は、値を指定しないでください。
      3. OK」をクリックします。
  4. データベースの JAR ファイルを指すように JDBC プロバイダーを構成します。 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
    • クラスパス: Websphere install directory/lib ロケーションにコピーされる ojdbc*.jar のロケーション。
    • JNDI 名: jdbc/focalpoint
    • データ・ストアのヘルパー・クラスは Oracle11g data store helper を選択します。
    • 接続プール・プロパティーに関して、カスタム・プロパティー SetBigStringTryClob を追加し、 値を true として設定します。 websphereDefaultIsolationLevel は、2 として設定します。
    IBM DB2
    • データベース・タイプ: IBM DB2
    • クラスパス: db2jcc-9.5.jar の場所と db2jcc_license_cu-9.5.jar
    • JNDI 名: jdbc/focalpoint
    • 接続プール・プロパティーに関して、websphereDefaultIsolationLevel を 2 に設定します。

次のタスク

Rational Focal Point アプリケーションを WebSphere Application Server に インストールします。 詳しくは、『WebSphere Application Server への Rational Focal Point のデプロイ』を参照してください。

フィードバック