Cognos ReportNetTM Installation and Configuration Guide

Cognos ReportNetTM Installation and Configuration Guide Cognos ReportNetTM Installation and Configuration Guide

sharepoint.cabq.gov
from sharepoint.cabq.gov More from this publisher
20.07.2014 Views

Chapter 7: Advanced Configuration Options Configuring ReportNet to Use An Alternative Application Server Instead of using Tomcat, the default servlet container included with ReportNet, you can configure ReportNet to use either a WebSphere or a WebLogic application server. This optional configuration may be appropriate if you want to use an existing application server implementation. It may provide greater flexibility for supporting additional applications. Before you configure ReportNet to use an alternative application server, do the following: ❑ Install ReportNet and select the components that will run on each computer. ❑ If required, the Oracle and DB2 clients must be installed and set up prior to running ReportNet. The appropriate environment variables must be set prior to starting the application server. For information about setting up the database client on UNIX, see "Set Up the Database Client for the Content Store Database" (p. 23), or on Windows, see "Set Up the Database Client for the Content Store Database" (p. 30). ❑ Install the application server or identify an existing application server that you can use for ReportNet. ❑ If you have WebLogic 6.1 SP4 or WebLogic 7.0 SP2, add the chunking patch to the WebLogic installation. • For WebLogic 6.1 SP4, add CR102751_61sp4.jar to WebLogic_location /wlserver6.1/lib, or upgrade to SP5. • For WebLogic 7.0 SP2, add CR100172_70sp2.jar to WebLogic_location/weblogic700/common/lib. This patch corrects a servlet container issue where HTTP chunked requests are not handled properly. Tip: To obtain the required chunking patch for the servlet container issue, contact BEA support. ❑ On UNIX, to avoid file permission conflicts, create a new UNIX group. You could call this group reportnet. This group must contain the user that starts WebSphere or WebLogic and the user that owns the ReportNet files. Change the group ownership of the ReportNet files to the reportnet group and change the file permissions for all ReportNet files to GROUP READABLE/WRITABLE/EXECUTABLE. ❑ If ReportNet was previously configured to use Tomcat, you must complete additional steps to prepare the ReportNet installation (p. 86). Configure ReportNet to Use a WebSphere Application Server You can use a WebSphere application server instead of Tomcat, the default. The following steps are based on a default WebSphere installation. You can also configure a customized environment (p. 81). Steps 1. If ReportNet was previously configured to use Tomcat, you must stop the ReportNet service and then delete the cryptographic keys (p. 86). 2. On each computer that includes ReportNet and WebSphere, from the crn_location/bi/jre1.3.1/lib/ext directory, copy the contents of the ext directory to WebSphere_location/java/jre/lib/ext. Important: Some or all of the jar files may already exist in the WebSphere ext directory. If so, do not overwrite the WebSphere versions of the files. 78 Cognos ReportNet TM

Chapter 7: Advanced Configuration Options 3. Set the JAVA_HOME environment variable: • On Windows, set a system environment variable. • On UNIX, from crn_location/bin, edit crconfig.sh. Operating System Windows UNIX Environment Variable Command set JAVA_HOME= WebSphere_location\AppServer\java\jre For csh: setenv JAVA_HOME= WebSphere_location/AppServer/java/jre For ksh: JAVA_HOME= WebSphere_location/AppServer/java/jre export JAVA_HOME For sh: JAVA_HOME= WebSphere_location/AppServer/java/jre export JAVA_HOME 4. From the crn_location/bin, start Cognos Configuration: • On Windows, type crconfigw.exe -java:env • On UNIX, type crconfig.sh 5. In the Explorer window, expand Environment and then change the following properties to use the WebSphere port number and host name. The WebSphere default port is 9080. • Internal Dispatcher URI • External Dispatcher URI • Content Manager URI • SDK URI 6. Under Environment, ReportNet Service, right-click Cognos ReportNet, and then click Delete. Now ReportNet will not run as a service, which is not required for WebSphere. 7. Complete other required configuration changes such as • specifying properties for the Content Manager database • entering user IDs and passwords If you used the default settings for the ReportNet installation, you may only have to make minor changes to the default configuration settings (p. 40). You can review the configuration for single computer installations (p. 33), or for distributed installations (p. 37), to determine if there are any additional changes required. 8. Save the configuration and close Cognos Configuration. If you are prompted to start the ReportNet service, click No. Cryptographic keys are created using the WebSphere JVM. 9. From WebSphere_location/AppServer/bin, open the startServer.bat file (Windows) or startServer.sh file (UNIX) in an editor. Installation and Configuration Guide 79

Chapter 7: Advanced <strong>Configuration</strong> Options<br />

Configuring ReportNet to Use An Alternative Application<br />

Server<br />

Instead of using Tomcat, the default servlet container included with ReportNet, you can<br />

configure ReportNet to use either a WebSphere or a WebLogic application server. This optional<br />

configuration may be appropriate if you want to use an existing application server<br />

implementation. It may provide greater flexibility for supporting additional applications.<br />

Before you configure ReportNet to use an alternative application server, do the following:<br />

❑ Install ReportNet <strong>and</strong> select the components that will run on each computer.<br />

❑ If required, the Oracle <strong>and</strong> DB2 clients must be installed <strong>and</strong> set up prior to running<br />

ReportNet. The appropriate environment variables must be set prior to starting the<br />

application server.<br />

For information about setting up the database client on UNIX, see "Set Up the Database<br />

Client for the Content Store Database" (p. 23), or on Windows, see "Set Up the Database<br />

Client for the Content Store Database" (p. 30).<br />

❑ Install the application server or identify an existing application server that you can use for<br />

ReportNet.<br />

❑ If you have WebLogic 6.1 SP4 or WebLogic 7.0 SP2, add the chunking patch to the<br />

WebLogic installation.<br />

• For WebLogic 6.1 SP4, add CR102751_61sp4.jar to WebLogic_location<br />

/wlserver6.1/lib, or upgrade to SP5.<br />

• For WebLogic 7.0 SP2, add CR100172_70sp2.jar to<br />

WebLogic_location/weblogic700/common/lib.<br />

This patch corrects a servlet container issue where HTTP chunked requests are not<br />

h<strong>and</strong>led properly.<br />

Tip: To obtain the required chunking patch for the servlet container issue, contact BEA<br />

support.<br />

❑ On UNIX, to avoid file permission conflicts, create a new UNIX group. You could call this<br />

group reportnet. This group must contain the user that starts WebSphere or WebLogic <strong>and</strong><br />

the user that owns the ReportNet files. Change the group ownership of the ReportNet files<br />

to the reportnet group <strong>and</strong> change the file permissions for all ReportNet files to GROUP<br />

READABLE/WRITABLE/EXECUTABLE.<br />

❑ If ReportNet was previously configured to use Tomcat, you must complete additional steps<br />

to prepare the ReportNet installation (p. 86).<br />

Configure ReportNet to Use a WebSphere Application Server<br />

You can use a WebSphere application server instead of Tomcat, the default. The following steps<br />

are based on a default WebSphere installation. You can also configure a customized<br />

environment (p. 81).<br />

Steps<br />

1. If ReportNet was previously configured to use Tomcat, you must stop the ReportNet service<br />

<strong>and</strong> then delete the cryptographic keys (p. 86).<br />

2. On each computer that includes ReportNet <strong>and</strong> WebSphere, from the<br />

crn_location/bi/jre1.3.1/lib/ext directory, copy the contents of the ext directory to<br />

WebSphere_location/java/jre/lib/ext.<br />

Important: Some or all of the jar files may already exist in the WebSphere ext directory. If<br />

so, do not overwrite the WebSphere versions of the files.<br />

78 <strong>Cognos</strong> ReportNet TM

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!