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
- In Services, stop the IBM_ACH - node 1 service.
- In File Explorer, go to <Analytics Content Hub install>app/node1/tomcat/webapps/theia/WEB-INF.
- Edit web.xml.
- 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> -->
- Click Save.
- In File Explorer, go to <Analytics Content Hub Install>app/node1/tomcat/webapps/theia/META-INF.
- Edit context.xml.
- Comment out the
CookieProcessor
parameter like the following:<!-- <CookieProcessor sameSiteCookies="none" /> -->
- Click Save.
- Comment out the
- In File Explorer, go to <Analytics Content Hub install>app/node1/tomcat/conf.
- Edit theia.properties.
- Comment out the
motio.theia.contentSecurityPolicy
parameter, like the following:
On the next line, add the following:#motio.theia.contentSecurityPolicy=default-src 'self' 'unsafe-eval' 'unsafe-inline' https://*:*; img-src http: https: blob: data:
motio.theia.contentSecurityPolicy=default-src 'self' 'unsafe-eval' 'unsafe-inline' https://*:* http://*:*; img-src http: https: blob: data:
- Then, click Save.
- Comment out the
- In Services, start IBM_ACH - node1.
- Start Analytics Content Hub with HTTP. For example, type http://<server name>:9080/theia in a browser window.