Configuring the Ajax proxy to allow FileNet requests

Configure the Ajax proxy so that direct requests that the CCM portlet makes to the FileNet server are allowed to pass through the proxy server.

About this task

The CCM portlet makes direct requests to the FileNet server which may be embedded with IBM Connections or deployed to a separate server. You must configure the Ajax proxy so that requests can pass through the Ajax proxy.
Note: If you installed the embedded option when you installed IBM Connections, you do not need to perform these steps.

Procedure

  1. Determine the http and https URLs for the FileNet server.
    1. Find the URLs configured for IBM Connections by looking in LotusConnections-config.xml located at:
      • For a clustered deployment:
        [websphere_home]/AppServer/profiles/[deployment_manager_profile]/config/cells/[cell_name]/LotusConnections-config
      • For a standalone deployment:
        [websphere_home]/AppServer/profiles/[app_server_profile]/config/cells/[cell_name]/LotusConnections-config
    2. Locate the <sloc:serviceReference> entry with the value serviceName="ecm_files". The entry will look like:
      <sloc:serviceReference bootstrapHost="" bootstrapPort="" clusterName="" enabled="true" serviceName="ecm_files" ssl_enabled="true">
              <sloc:href>
                  <sloc:hrefPathPrefix>/dm</sloc:hrefPathPrefix>
                  <sloc:static href="http://xxx.yourdomain.com" ssl_href="https://xxx.yourdomain.com"/>
                  <sloc:interService href="https://xxx.yourdomain.com"/>
              </sloc:href>
          </sloc:serviceReference>
    3. Take note of the href and the ssl_href attributes to use to run the command in step 3.
  2. Open a command prompt and change to the following directory:
    • AIX: [wp_profile_root]/ConfigEngine
    • Linux: [wp_profile_root]/ConfigEngine
    • Solaris: [wp_profile_root]/ConfigEngine
    • Windows: [wp_profile_root]\ConfigEngine
  3. Run this command to configure the Ajax proxy to handle all requests to FileNet:
    ConfigEngine action-config-ajax-proxy-SNPortlets-filenet -DICfilenetURL=[ssl_href_attribute] -DICfilenetURLunsecured=[href_attribute] -DWasPassword=[was-admin-password]
  4. Run the following command if you want to remove the Ajax proxy configuration for FileNet:
    ConfigEngine action-remove-ajax-proxy-SNPortlets-filenet -DWasPassword=[was-admin-password]