Creating a new application from an existing Information Console
To deploy an existing Information Console as a separate application, copy the Information Console context root and then modify the configuration files to match the new location. Use the new application to access different iHub volumes or provide different functionality or appearance to users.
How to create a new application from an existing Information Console application
The steps in this procedure copy the Information Console application that is part of the standard iHub folder structure on a Windows system to a new folder on the same server.
1 Copy the existing iportal context root and content to a new folder. For example, copy:
C:\Actuate3\BIRTiHubVisualization\modules\BIRTiHub\iHub\web\iportal
to:
C:\Actuate3\BIRTiHubVisualization\modules\BIRTiHub\iHub\web\marcom
2 Edit the SAML settings in the WEB-INF\web.xml file to specify the new context root, as shown in the following code:
<context-param>
<description>The SP ID for SAML SSO</description>
<param-name>SAMLEntityID</param-name>
<param-value>http://mysystem:8700/marcom</param-value>
</context-param>
3 Edit the context root settings in the WEB-INF\shindig.properties file. Replace all instances of iportal with the new context root, as shown in the following code:
...
shindig.signing.global-callback-url=http://mysystem:8700/marcom/gadgets/oauthcallback
...
shindig.content-rewrite.proxy-url=/marcom/gadgets/proxy?url=
#shindig.content-rewrite.concat-url=/gadgets/concat?container=default&
shindig.content-rewrite.concat-url=/marcom/gadgets/concat?
...
4 Edit the context root settings in the WEB-INF\classes\containers\default\container.js file. Replace all instances of iportal with the new context root. The first two instances are shown in the following code:
"gadgets.jsUriTemplate" : "http://%host%/marcom/gadgets/js/%js%",
...
"gadgets.uri.js.path" : "/marcom/gadgets/js",
5 Add the new context root to the iHub configuration file, C:\Actuate3\BIRTiHubVisualization\modules\BIRTiHub\iHub\etc\acpmdconfig.xml, as shown in the following code:
<Context
path="/marcom"
docBase="C:/Actuate3/BIRTiHubVisualization/modules/BIRTiHub/iHub/web/marcom"
workDir="C:/Actuate3/BIRTiHubVisualization/modules/BIRTiHub/Hub/data/web/work/localhost/marcom"
crossContext="true"
welcome = "login.jsp"
sessionCookiePath="/"
samlEntityID="http://mysystem:8700/marcom"
/>
6 Shut down the iHub server by stopping the Actuate iHub 3.1 Service.
7 Remove the working folder for the embedded iHub Tomcat server by deleting the following folder:
C:\Actuate3\BIRTiHubVisualization\modules\BIRTiHub\iHub\web\work
8 Restart the Actuate iHub 3.1 Service.