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.
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.
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.
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:
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.
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.
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.
\ibi\WebFOCUS77\worp\components\ops\jsr168
<VAPInstallDir>\ant\examples\portletpackagetool\myportlet
where
Is the location where the Vignette Application Portal Server is installed.
<VAPInstallDir>\ant\bin\generic_portletpackagetool.bat
<VAPInstallDir>/ant/bin/generic_portletpackagetool.sh
\ibi\WebFOCUS77\worp\components\ops\gateway
VAPInstallDir>\ant\examples\portletpackagetool\myportlet
\ibi\WebFOCUS77\client\wfc\etc
How to: |
The following section describes how to configure the WebFOCUS Portlets using the Vignette Portal Server Console.
You must configure the WebFOCUS portlets once they have been deployed to the Vignette Application Portal.
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. |
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 |