修改 CRConfig.xml 檔,以便在 WebSphere® Application Server 上執行 Content Engine 時,建立與 Crystal Reports 的 Content Engine JDBC 連線。
如果在 WebSphere Application Server 上執行 Content Engine 時,要建立與 Crystal Reports 伺服器的 Content Engine JDBC 連線,您必須修改現有的 CRConfig.xml 檔。
XML 元素 | 設定為... |
---|---|
JavaDir | 設定為 WebSphere Application Server 或 WebSphere Application Server Client 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 檔新增至類別路徑:
新增下列 Crystal Reports 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 值。
對 JNDI 設定 Java 內容,如下列範例所示:
重要: 在叢集的 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_server 是 Content 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 管理者」角色的使用者名稱。 |
DatabaseStructure | 將此值設定為:tables |