Configuring Crystal Reports, version for Eclipse
To use the Rational® ClearQuest® Report Server for Crystal Reports for ClearQuest® reporting, install and configure a supported version of the Crystal Reports, version for Eclipse on the WebSphere® Application Server.
Before you begin
About this task
These instructions include references to this variable:
- %CLEARQUEST_HOME%\cqweb\cqwebprofile
- On Windows™, this variable represents the default path for the WebSphere® profile directory where Rational® ClearQuest® web applications are deployed. CLEARQUEST_HOME is the directory where ClearQuest® is installed.
- $CQ_HOME/cqweb/cqwebprofile/
- On Linux™, this variable represents the default path for the WebSphere® profile directory where Rational® ClearQuest® web applications are deployed. CQ_HOME is the directory where ClearQuest® is installed.
Note: In these instructions, the installation directory for the JRC runtime is based on Rational®
ClearQuest® being installed in a new WebSphere® profile at this default
location:
cd $CLEARQUEST_HOME/cqweb/cqwebprofile/installedApps/dfltCell/RationalClearQuestWebReport.ear/CQWebReport.warIf
Rational®
ClearQuest® was installed into an
existing WebSphere® Application profile, this path
might be different, and the path in the instructions must be updated
before copying the JRC files. One other common location to check is this directory:
cd /opt/ibm/clearquest/cqweb/cqwebprofile/installedApps/dfltCell/RationalClearQuestWebReport.ear/CQWebReport.warProcedure
- Download the Crystal Reports, version for Eclipse archive file that meets your Rational® ClearQuest® reporting requirements.
-
Copy the Crystal Reports, version for Eclipse to the web application.
- On Windows™
- Run the batch file to copy the JRC to the web application.
If you are using Crystal Reports, Version for Eclipse, run the configureJRC.bat. For JRC version 12.2.x, run configureJRC12.bat
- From a command prompt, go to the directory where the Rational®
ClearQuest® batch files were
installed:
cd %CLEARQUEST_HOME%\cqweb\cqwebprofile\installedApps\dfltCell\RationalClearQuestWebReport.ear\CQWebReportModule.war - Copy the runtime archive file into this directory.
- Run one of the following commands depending on which version of the runtime you are
deploying.
configureJRC CR4ERL32_0-80004572.zip configureJRC12 JRC_runtime_file.zip
- From a command prompt, go to the directory where the Rational®
ClearQuest® batch files were
installed:
- On Linux
- If you are using Crystal Reports, version for Eclipse, run the
configureJRC.sh. For JRC, version 12.2.x, run
configureJRC12.sh.
- Open a Linux™ console window and go o the
directory where the Rational®
ClearQuest®
shell scripts were
installed.
cd $CQ_HOME/cqweb/cqwebprofile/installedApps/dfltCell/RationalClearQuestWebReport.ear/CQWebReport.war - Copy the Crystal Reports, version for Eclipse runtime archive file into this directory.
- Set the permission for the version of the script you want to
run:
chmod u+x ./configureJRC.sh chmod u+x ./configureJRC12.sh - Run the command for the JRC version you are
copying:
./configureJRC.sh CR4ERL32_0-80004572.zip ./configureJRC12.sh JRC_runtime_file.zip
- Open a Linux™ console window and go o the
directory where the Rational®
ClearQuest®
shell scripts were
installed.
Note: The Crystal Reports.zipfile name and version may vary depending on SAP release. - Stop and restart IBM® WebSphere® Application Server
to activate the changes.Note: The directory in these instructions might be different if Rational® ClearQuest® was installed into an existing WebSphere® profile.
- On Windows™:
- Click Start > Control Panel > Administrative Tools > Services.
- In the Services pane, right-click IBM® WebSphere® Application Server v8.5 or 9.0 - %CLEARQUEST_HOME%\cqweb\cqwebprofile.
- Click Stop.
- After the service stops, right-click on the server name and click Start to restart the server.
- On Linux™:
-
- From a Linux™ console window, go to the
bin directory of the WebSphere® profile where Rational®
ClearQuest® server components are
installed. Note: The directory in these instructions might be different if Rational® ClearQuest® was installed into an existing WebSphere® profile.
+++ cd $CQ_HOME/cqweb/cqwebprofile/bin - Run these commands to stop and start the default
profile:
./stopServer.sh server1 ./startServer.sh server1
- From a Linux™ console window, go to the
bin directory of the WebSphere® profile where Rational®
ClearQuest® server components are
installed.
- To verify that the Rational®
ClearQuest® Report
Server for Crystal Reports is configured properly, open a browser
window and go to this URL:
http://localhost:<port>/cqwebreport/CRInvokerWhere <port> is the port defined in the profile to deploy the application. The default Rational® ClearQuest® profile uses port 12080. The default WebSphere® Application Server profile uses port 9080.If the server is configured properly, this message is displayed.The report document has expired. - Additional configuration steps are required in these situations:
- A database field name is changed in the Rational® ClearQuest® schema.
- Rational® ClearQuest® display field names do not match database field names.
- Rational® ClearQuest® display field names exceed 30 characters.