修改 CRConfig.xml 文件,从而当 Content Engine 在 WebSphere® Application Server 上运行时创建与 Crystal Reports 的 Content Engine JDBC 连接。
要在 Content Engine 在 WebSphere Application Server 上运行时创建与 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 |
Classpath | 将以下 JAR 文件添加至 classpath:
将带有完整路径的以下 Crystal Reports JAR 文件添加至 classpath:
这些 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# 对。可在 ier_install_path/RecordsManager/WEB-INF/WcmApiConfig.properties 文件的 RemoteServerURL 参数中找到这些 node:port# 对。当指定该参数值时,请除去 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# 是在 RemoteServerURL 参数中使用的端口号,该参数可在 ier_install_path/RecordsManager/WEB-INF/WcmApiConfig.properties 文件中找到。FPOS 是您的归档计划对象库的名称。 要点: 在 Content Engine 集群内容中,JDBCURL 标记的值可以包含多个 node:port# 对。可在 ier_install_path/RecordsManager/WEB-INF/WcmApiConfig.properties 文件的 RemoteServerURL 参数中找到这些 node:port# 对。将 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 |