This is an archive related to a previous version of Esri Maps for IBM Cognos. If you need the current version go to http://doc.arcgis.com/en/maps-for-cognos/.

Install and configure EM4C Gateway

EM4C Gateway must be installed on each IBM Cognos Gateway computer in your environment.

EM4C Gateway can be installed and configured on its own or in combination with EM4C Server and/or EM4C Dispatcher. For more information, see Installation sequence for server components. For an example of an Esri Maps for IBM Cognos deployment, see Esri Maps for IBM Cognos architecture.

Install EM4C Gateway

Before you begin the installation, ensure that there is an IBM Cognos Gateway directory on each computer on which you are installing EM4C Gateway.

The following steps should be performed as an administrator.

  1. In the em4c directory on the installation media, launch the installer batch file (.bat). For example:

    G:\em4c\launchInstaller.bat

  2. On the Welcome page, click Next.
  3. If you accept the terms of the license agreement, click Next; otherwise, click Quit to exit.
  4. Select the installation path and click Next.
  5. Select the version of IBM Cognos that Esri Maps for IBM Cognos will be installed on and click Next.
  6. Ensure that only the EM4C Gateway component is selected and click Next.
  7. Specify the IBM Cognos Gateway webcontent directory and click Next.
  8. Click Next to proceed with the installation.
  9. Wait for files to be copied to the specified location and click Next.
  10. Optionally, click Generate an automatic installation script in order to save an XML file containing all the parameters you set on the previous pages.
  11. Click Done.

Configure EM4C Gateway

Configuration of EM4C Gateway requires an ordered, comma-separated list of the EM4C Servers in your environment. For more information, see Configuration.

Run Esri Maps for IBM Cognos Configuration as a user with administrator privileges.

  1. Browse to the em4c_location\bin directory and run configure.bat.
  2. In the Configuration tool's Explorer window, click Local Configuration.
  3. Change the local configuration settings to reflect your environment (for example, the host name portion of any URI should be changed from localhost to an IP address or a network host name). The Esri Maps for IBM Cognos Configuration application recognizes which EM4C components are installed and only lists the configuration settings that are required to be set.
  4. Click Apply.
  5. From the File menu, click Exit.

Configure the web server

In order for Esri Maps for IBM Cognos and IBM Cognos to communicate, you must create the virtual directories (aliases) listed in the following table. Note that it is assumed IBM Cognos is exposed on your web server as ibmcognos (modify to reflect your environment).

AliasLocation

ibmcognos\em4c

em4c_location\webcontent

ibmcognos\em4c\cgi-bin

em4c_location\cgi-bin or em4c_location\cgi-bin-64bit, depending on your environment (x86 or x64)

To learn more about web server configuration, see About web server configuration.

Test the configuration

After Esri Maps for IBM Cognos has been installed and configured, clear your web browser's cache (Ctrl+Shift+Delete on most browsers) if you haven't done so already. You can then test various aspects of the installation and configuration process.

In the following examples, it is assumed IBM Cognos is exposed by an ibmcognos alias.

  1. Perform the following tests to verify whether EM4C Gateway is working as expected:
    1. Test that the em4c web server virtual directory (alias) is set up correctly (this also verifies Apply was selected in Esri Maps for IBM Cognos Configuration):
      http://<cognos_gateway>/ibmcognos/em4c/version.txt
      
    2. Test whether the EM4C Gateway CGI script is working correctly (connecting to EM4C Server). If it is working, the following URL will result in a message with a timestamp appearing in the browser:
      http://<cognos_gateway>/ibmcognos/em4c/cgi-bin/em4c.cgi
      
    3. Test whether the EM4C Gateway CGI script can access the location providers from your ArcGIS organization. This will verify that the CGI can access external resources.
      http://<cognos_gateway>/ibmcognos/em4c/cgi-bin/em4c.cgi?
      <arcgisUrl property specified in settings.js>/common/locationproviders/LocationProviders
      

    If these tests fail to produce the expected results, there are two possible reasons: Esri Maps for IBM Cognos Configuration was not used (changes to the configuration were not saved/applied), or the web server is not configured properly.