IBM Enterprise Records, バージョン 5.1.+              

WebSphere Application Server での CRConfig.xml ファイルの編集

CRConfig.xml ファイルを変更して、Content EngineWebSphere® Application Server 上で稼働する際の、Crystal Reports との Content Engine JDBC 接続を作成します。

Content EngineWebSphere Application Server 上で稼働する際の、Crystal Reports サーバーとの Content Engine JDBC 接続を作成するには、既存の CRConfig.xml ファイルを変更する必要があります。

以下の表に示す XML エレメントのコンテンツを更新します。
表 1. WebSphere Application ServerContent Engine が稼働している場合の XML エレメント
XML エレメント 設定値
JavaDir

WebSphere Application Server または WebSphere Application Server クライアントの JDK のインストール・パスに設定します。次に例を示します。

WebSphere Application Server C:¥ProgramFiles¥IBM¥WebSphere¥AppServer¥java¥bin

Application Client for WebSphere Application Server: C:¥ProgramFiles¥IBM¥WebSphere¥AppClient¥java¥bin

クラスパス

クラスパスに以下の JAR ファイルを追加します。

  • Jace.jar
  • log4j.jar
  • log4j-1.2.13.jar (WebSphere 6.x 以前)

クラスパスを指す絶対パスを使用して、以下の Crystal Reports JAR ファイルを追加します。

  • cecore.jar
  • celib.jar
  • ebus405.jar
  • corbaidl.jar
  • freessl201.jar
  • asn1.jar
  • certj.jar
  • jsafe.jar
  • sslj.jar

これらの JAR ファイルは通常、C:¥Program Files¥Business Objects¥common¥4.0¥java¥lib または C:¥Program Files¥Business Objects¥Common¥4.0¥java¥lib¥external にあります。

JVMMaxHeap WebSphere Application Server に対する正確な JVMMaxHeap 値を設定します。
  • この文字列の数値は、JVMMinHeap エレメントの値よりも大きい値に設定する必要があります。
  • JVMMaxHeap エレメント内では、Java プロパティーを 1 行のコードとして入力する必要があります。以下の例で改行されているのは、単に読みやすくするためです。

JNDI の Java プロパティーを次の例に示すように設定します。

Crystal Reports と Content Engine が連結されている場合
以下のように Java プロパティーを設定します (すべての WebSphere Application Server バージョン):
<JVMMaxHeap>512000001
-Djava.ext.dirs="C:¥Program
Files¥IBM¥WebSphere¥AppServer¥java¥jre¥lib¥ext;
C:¥Program Files¥IBM¥WebSphere¥AppServer¥lib;
C:¥Program Files¥IBM¥WebSphere¥AppServer¥plugins"
-Djava.naming.factory.initial=
com.ibm.websphere.naming.WsnInitialContextFactory
-Djava.naming.provider.url=iiop://CE_server:port#
-Dcom.ibm.CORBA.loginSource=none
-Dcom.ibm.CORBA.ConfigURL="file:C:¥Program
Files¥IBM¥WebSphere¥AppServer¥
profiles¥default¥properties¥sas.client.props"</JVMMaxHeap>
Crystal Reports と Content Engine が別個のサーバーにインストールされている場合
以下のように、パスが WebSphere Application Server クライアント 6.1.x または 7.0.x のフォルダーを指すように JNDI の Java プロパティーを設定します。
<JVMMaxHeap>512000001
-Djava.ext.dirs="C:¥Program
Files¥IBM¥WebSphere¥AppClient¥java¥jre¥lib¥ext;
C:¥Program Files¥IBM¥WebSphere¥AppClient¥lib;
C:¥Program Files¥IBM¥WebSphere¥AppClient¥plugins"
-Djava.naming.factory.initial=
com.ibm.websphere.naming.WsnInitialContextFactory
-Djava.naming.provider.url=iiop://CE_server:port#
-Dcom.ibm.CORBA.loginSource=none
-Dcom.ibm.CORBA.ConfigURL=
"file:C:¥Program Files¥IBM¥WebSphere¥
AppClient¥properties¥sas.client.props"</JVMMaxHeap>
ヒント: WebSphere Application Server クライアントは Crystal Report サーバーにインストールする必要があります。
ヒント: CE_server:port # は通常、ier_install_path/RecordsManager/WEB-INF/WcmApiConfig.properties ファイルの RemoteServerURL パラメーターに指定されているポートです。
重要: クラスター Content Engine 環境では、Djava.naming.provider.url パラメーターの値に複数の node:port# ペアが含まれる場合があります。これらの node:port# ペアは、ier_install_path/RecordsManager/WEB-INF/WcmApiConfig.properties ファイルの RemoteServerURL パラメーターに見つかる場合があります。このパラメーター値を指定するときは、プレフィックス cemp: および末尾の /cell/clusters/CECluster/FileNet/Engine を削除します。次に例を示します。
RemoteServerUrl = cemp:corbaloc::server_node1:port#,:server_node2:port#/cell/
clusters/CECluster/FileNet/Engine

これを Djava.naming.provider.url パラメーターに指定すると次のようになります。

-Djava.naming.provider.url=corbaloc::server_node1:port#,: server_node2:port#
JVMMinHeap

値を 512000000 に設定します。

JDBCURL
WebSphere Application Server 上の Content Engine に接続するために使用する JDBC URL を次の形式で入力します。
jdbc:filenetp8:iiop://CE_server:port#/
FileNet/Engine?objectstores=FPOS
ここで CE_serverContent Engine サーバーの名前、port#ier_install_path/RecordsManager/WEB-INF/WcmApiConfig.properties ファイルにある RemoteServerURL パラメーターで使用されているポート番号です。FPOS はファイル・プラン・オブジェクト・ストアの名前です。
重要: クラスター Content Engine 環境では、JDBCURL タグの値に複数の node:port# ペアが含まれる場合があります。これらの node:port# ペアは、ier_install_path/RecordsManager/WEB-INF/WcmApiConfig.properties ファイルの RemoteServerURL パラメーターに見つかる場合があります。タグ値を指定するときは、プレフィックス cemp:jdbc:filenetp8 に置き換え、末尾に ?objectstores-FPOS を追加します。次に例を示します。
RemoteServerUrl = cemp:corbaloc::server_node1:port#,:server_node2:port#/cell/
clusters/CECluster/FileNet/Engine

これを JDBCURL タグに指定すると次のようになります。

<JDBCURL>jdbc:filenetp8:corbaloc::server_node1:port#,: server_node2:port#/cell/
clusters/CECluster/FileNet/Engine?objectstores=FPOS</JDBCURL>
JDBCClassName

値を com.filenet.api.jdbc.Driver に設定します。

JDBCUserName 値を GCD Administrator ロールが割り当てられているユーザーの名前に設定します。
DatabaseStructure

値を tables に設定します。



フィードバック

最終更新日: 2011 年 8 月


© Copyright IBM Corp. 2011.
このインフォメーション・センターでは Eclipse テクノロジーが採用されています。(http://www.eclipse.org)