Configuring the Portlet Applications
Configure the portlet application to specify
the signon mechanism and the address of the server component for Portal
Services.
Procedure
- In the c10_location\cps\liferay\portlets directory, open the portlet.xml file.
- Modify the parameter sections for each portlet:
<init-param> <name>Maximum Cached Pages</name> <value>@param.max_cached_pages@</value> </init-param> <init-param> <name>IBM Cognos WSRP WSDL Location</name> <value>@gateway.wsdl.url@/wsrp/cps4/portlets/nav?wsdl&b_action=cps.wsdl</value> </init-param> <init-param> <name>Active Credential Type</name> <value>@param.active_credential_type@</value> </init-param> <init-param> <name>cps_auth_secret</name> <value>@param.cps_auth_secret@</value> </init-param> <init-param> <name>cps_auth_namespace</name> <value>@param.cps_auth_namespace@</value> </init-param> <init-param> <name>_webcontentURL</name> <value>@param._webcontentURL@</value> </init-param> <init-param> <name>_gatewayURL</name> <value>@param._gatewayURL@</value> </init-param> <init-param> <name>showErrorDetail</name> <value>@param.showErrorDetail@</value> </init-param>
- On the Microsoft Windows operating system, run the build.bat file. On the Unix operating system, run the build.sh file. The CognosBIPortlets.war file is created in the c10_location\cps\liferay\portlets directory.
- Deploy the CognosBIPortlets.war file.
Parent topic: Deploying Cognos Portlets to Liferay Portal