Deploy Crystal Reports components to IBM® Enterprise
Records by modifying the web.xml file and using Configuration manager to redeploy
the IBM Enterprise
Records web application.
Before you begin
Review the overview topic about installing Crystal reports,
especially the instructions about setting
Application Engine or
Workplace XT site preferences.
Procedure
To deploy the Crystal Reports components to IBM Enterprise
Records:
- Copy the IBM Enterprise
Records web.xml file from the deployment location.
Copy the file to the installation directory at: ier_install_path/RecordsManager/WEB-INF.
Table 1. Deploy locations
of web.xml fileOption |
Deploy location |
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 or .ear
|
- Modify the web.xml file for Crystal
Reports 2008.
- In the context-param section, change the param-value
section from crystal_image_uri value to crystalreportviewers12.
<context-param id="ContextParam_15">
<param-name>crystal_image_uri</param-name>
<param-value>../crystalreportviewers12</param-value>
</context-param>
- Add the following entries into the servlet
section.
<servlet>
<servlet-name>CrystalReportViewerServlet</servlet-name>
<servlet-class>
com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet
</servlet-class>
</servlet>
- Add the following entries into the servlet-mapping
sections.
<servlet-mapping>
<servlet-name>CrystalReportViewerServlet</servlet-name>
<url-pattern>/CrystalReportViewerHandler</url-pattern>
</servlet-mapping>
- Save your changes to the web.xml file.
- Redeploy the IBM Enterprise
Records web application by using the instructions provided in
the Configuration Manager. Complete the redeployment after following
the instructions for installing Content Engine and Process Engine or Content Platform Engine clients
in the configuring topic.