Enabling HTTP for Analytics Content Hub

You can change the default ports for Analytics Content Hub.

Before you begin

Analytics Content Hub 2.x needs to be installed and working.

Procedure

  1. In Services, stop the IBM_ACH - node 1 service.
  2. In File Explorer, go to <Analytics Content Hub install>app/node1/tomcat/webapps/theia/WEB-INF.
  3. Edit web.xml.
  4. Comment out these lines as shown:
    <!--
       <security-constraint>
            <web-resource-collection>
                <web-resource-name>Entire Application</web-resource-name>
                <url-pattern>/*</url-pattern>
            </web-resource-collection>
            <user-data-constraint>
                <transport-guarantee>CONFIDENTIAL</transport-guarantee>
            </user-data-constraint>
        </security-constraint> 
    -->
    
  5. Click Save.
  6. In File Explorer, go to <Analytics Content Hub Install>app/node1/tomcat/webapps/theia/META-INF.
  7. Edit context.xml.
    1. Comment out the CookieProcessor parameter like the following:
      <!-- <CookieProcessor sameSiteCookies="none" /> -->
    2. Click Save.
  8. In File Explorer, go to <Analytics Content Hub install>app/node1/tomcat/conf.
  9. Edit theia.properties.
    1. Comment out the motio.theia.contentSecurityPolicy parameter, like the following:
      #motio.theia.contentSecurityPolicy=default-src 'self' 'unsafe-eval' 'unsafe-inline' https://*:*; img-src http: https: blob: data:
      On the next line, add the following:
      motio.theia.contentSecurityPolicy=default-src 'self' 'unsafe-eval' 'unsafe-inline' https://*:* http://*:*; img-src http: https: blob: data:
    2. Then, click Save.
  10. In Services, start IBM_ACH - node1.
  11. Start Analytics Content Hub with HTTP. For example, type http://<server name>:9080/theia in a browser window.