web.xml ファイルを変更し、構成マネージャーを使用して IBM® Enterprise
Records Web アプリケーションを再デプロイすることによって、Crystal Reports コンポーネントを IBM Enterprise
Records にデプロイします。
始める前に
Crystal Reports のインストールに関する概要トピック、特に
Application Engine または
Workplace XT のサイト設定の手順を確認してください。
手順
Crystal Reports コンポーネントを IBM Enterprise
Records にデプロイするには、以下の手順を実行します。
- IBM Enterprise
Records web.xml ファイルをデプロイ場所からコピーします。
このファイルをインストール・ディレクトリー (ier_install_path/RecordsManager/WEB-INF) にコピーします。
表 1. web.xml ファイルのデプロイ先オプション |
デプロイ先 |
WebSphere® Application
Server |
WAS_HOME/profiles
/default/installedApps/node_name
/RecordsManager.ear/recordsmanager.war
|
Oracle WebLogic Server |
WL_deploy_location/war/WEB-INF
|
JBoss Application Server |
JBOSS_HOME/server/default/deploy/application_name .war または .ear
|
- Crystal Reports 2008 の web.xml ファイルを変更します。
- context-param セクションの param-value セクションを、crystal_image_uri value から crystalreportviewers12 に変更します。
<context-param id="ContextParam_15">
<param-name>crystal_image_uri</param-name>
<param-value>../crystalreportviewers12</param-value>
</context-param>
- 次のエントリーを servlet セクションに追加します。
<servlet>
<servlet-name>CrystalReportViewerServlet</servlet-name>
<servlet-class>
com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet
</servlet-class>
</servlet>
- 次のエントリーを servlet-mapping セクションに追加します。
<servlet-mapping>
<servlet-name>CrystalReportViewerServlet</servlet-name>
<url-pattern>/CrystalReportViewerHandler</url-pattern>
</servlet-mapping>
- 変更を web.xml ファイルに保存します。
- 構成マネージャーで示される手順に従って、IBM Enterprise
Records Web アプリケーションを再デプロイします。
構成トピックの Content Engine および Process Engine または Content Platform Engine クライアントをインストールする手順を実行した後で、再デプロイを完了します。