Configuring WebFOCUS Portlets for the Vignette Application Portal Server

In this section:

The following section describes how to install and register the WebFOCUS Portlets for an Vignette Application Portal Serverâ„¢ that has been configured to run WebFOCUS Business Intelligence Dashboard Version 7 Release 7.02.


Top of page

x
Installation Requirements

Before you install JSR 168 WebFOCUS Portlets, ensure the following components are installed and available:

WebFOCUS Open Portal Services provides the following optional parameters when configuring your portal:

For more information on how to configure these parameters, see Using WebFOCUS Portal Components.


Top of page

x
USE_GATEWAY Parameter

The USE_GATEWAY parameter is enabled internally by default.

If you are not using a gateway in your environment, you must log in to the WebFOCUS Administration Console and change the value of the USE_GATEWAY parameter to NO, as shown in the following image.

For more information, see Using the WebFOCUS Administration Console to Specify Parameter Values.

For more information on how to install and deploy the WebFOCUS Open Portal Services Gateway, see How to Install and Deploy the WebFOCUS Open Portal Services Gateway.


Top of page

x
Deployment Overview

Under Vignette Application Portal (VAP), portlets are deployed as Web applications that are separate from the VAP Web application. VAP uses the application standard server WAR deployment procedure. Before the first deployment of a portlet application, its web.xml file must be modified to enable VAP to access and manage the portlet or portlets that the application contains. VAP includes a tool that performs this modification.

The sequence of events required to develop and deploy a portlet into VAP is as follows:

  1. The developer runs the VAP Portlet Packaging Tool, which prepares the portlet application for use with VAP. If the portlet application was archived, the packaging tool rearchives it after applying the modifications.
  2. The developer or deployment manager deploys the portlet application to the application server, supplying the context application root. This step uses the normal deployment feature of the application server.

When the portlet application is started, the portlet appears in the VAP administration consoles. The VAP Portlet Packaging Tool needs to be run only once; if the portlet application is modified and redeployed, the tool does not need to be re-run.


Top of page

x
Using the VAP Portlet Packaging Tool

How to:

The VAP Portlet Packaging Tool works with portlet applications in any format-one or more WAR files, one or more EAR files, or loose files in exploded WAR format. If you do not run the packaging tool on a portlet application before deploying it for the first time, the application server will complete its deployment process but VAP will not find the application.

However, you need to run the tool only once on any portlet application. Thereafter, you can redeploy the application as well as make changes to it without rerunning the tool (as long as the application continues to contain the modifications applied by the tool). The packaging tool is an Ant task that adds the information required by VAP to a application web.xml file portlet. For the simplest case-deploying one portlet application-you can use a script that ships with VAP; for access to all features of the tool, you can create your own Ant build file. The Ant task can be incorporated into your existing build processes so that running the packaging tool is a seamless part of development.



x
Procedure: How to Use the VAP Script

VAP ships with a preconfigured build file containing an Ant task to prepare a single WAR file for deployment. You can run this build file by using a command-line executable script for convenience.

  1. Locate the ops.war file in the following location:
    \ibi\WebFOCUS77\worp\components\ops\jsr168
  2. Copy the ops.war file to the following directory:
    <VAPInstallDir>\ant\examples\portletpackagetool\myportlet

    where

    <VAPInstallDir>

    Is the location where the Vignette Application Portal Server is installed.

  3. Run one of the following scripts depending on which platform you are using and supply the portlet application's context root as a command-line argument:
    • Windows
      <VAPInstallDir>\ant\bin\generic_portletpackagetool.bat
    • UNIX
      <VAPInstallDir>/ant/bin/generic_portletpackagetool.sh
  4. When prompted, type ops.war for the WAR file name.
  5. At the prompt for the context root, type ops in the context root of the portlet application.
  6. Deploy the opsgw.war file to the application server.
  7. Locate the opsgw.war file in the following directory:
    \ibi\WebFOCUS77\worp\components\ops\gateway
  8. Copy the opsgw.war file to the following directory:
    VAPInstallDir>\ant\examples\portletpackagetool\myportlet
  9. Deploy the opsgw.war file to the application server.
  10. Edit the cgivars.wfs file located in the following directory:
    \ibi\WebFOCUS77\client\wfc\etc
  11. Search for IBIMR_TRUSTED_KEY and note the value, for example, 1139420640245.

Top of page

x
Configuring the WebFOCUS Portlets

How to:

The following section describes how to configure the WebFOCUS Portlets using the Vignette Portal Server Console.



x
Procedure: How to Configure the WebFOCUS Portlets

You must configure the WebFOCUS portlets once they have been deployed to the Vignette Application Portal.

  1. Login to Vignette Portal Server Console as an administrator.

  2. In the left pane, expand Components, Portlets, and Portlet Applications to verify that the JSR168 application is deployed and available.

  3. Click Portlet List, and then click Create Portlet.

  4. Click the checkbox next to the Portlet that you want to create.
  5. Click the Add Selected button.
  6. Click Portlet List.

  7. Click on a Portlet to modify its settings.

  8. Click Details in the top frame of the right pane.

  9. Specify values for the following parameters that correspond to the Portlet you are configuring.

    Parameter

    Description

    Title

    The name of the WebFOCUS Portlet, for example, Domain.

    Protocol

    The communication protocol, which is used by the portlet. Select http or https from the drop-down list.

    Server Name

    The machine name where WebFOCUS is installed.

    Port Number

    The port number used by the WebFOCUS Web Server.

    Context Path

    Specify the following context path:

    /ibi_apps

    Cache Expiration

    The amount of time that a portlet's content is retained in cache before it is cleared. By default, cache expiration is not enabled.

    Use Gateway

    Select yes or no from the drop-down list to enable or disable the use of a gateway.

    Gateway Context

    Specify the following gateway context path:

    /opsgw

    Height (px)

    The height of the portlet in pixels.

    Trusted Key

    The value of the IBIMR_TRUSTED_KEY variable, which is located in the cgivars.wfs file.

  10. Click Update.
  11. Click Preview to verify the Portlet deployment.
  12. Repeat steps 3-11 for each Portlet that you want to create.

    Once you have created a Portlet, you can add it to a Portal page. For more information on configuring Portal pages, see your Vignette Application Portal Server documentation.


WebFOCUS