Getting SLP to Work With Your WebFOCUS Installation

In this section:

How to:

This appendix provides the steps that you can follow to configure Simple Lightweight Page (SLP) manager, a context switcher for PMF, to work with your WebFOCUS installation.

Note that the PMF installer configures SLP for you automatically on a new install.



Procedure: How to Install SLP

To install SLP:

  1. On your WebFOCUS Client system, navigate to the following location:
    drive:/ibi/WebFOCUSnn/webapps/webfocus

    where:

    nn

    Is the WebFOCUS version number.

  2. Create a new folder named slp. The name must be all lower case letters.
  3. Copy the slp.jsp file into the new folder.


Procedure: How to Configure the SLP Service

To configure the SLP service:

  1. Navigate to the following location:
    drive:/ibi/WebFOCUSnn/webapps/webfocus/WEB-INF
  2. Make a backup copy of the web.xml file and name it web-beforezip.xml.
  3. Open the web.xml file in a text editor.
  4. Paste the following text at the end of the file, above the </web-app> tag:
    <!-- SLP added by PMF install -->
    <servlet>
    	<servlet-name>slp</servlet-name>
    	<jsp-file>/slp/slp.jsp</jsp-file>
    </servlet>
    <!-- SLP added by PMF install -->
      
    <servlet-mapping>
       <servlet-name>slp</servlet-name>
       <url-pattern>/slp/*</url-pattern>
       <url-pattern>/p/*</url-pattern>
       <url-pattern>/pmf</url-pattern>
       <url-pattern>/PMF</url-pattern>
    </servlet-mapping>

    The following image shows the file with the additional text added.

  5. Save the file.
  6. Restart your web app container service, such as Apache Tomcat.


Using SLP With PMF

The standard SLP configuration creates a shortcut to start PMF.

To start PMF, use:

http(s)://server:port/ibi apps folder name/pmf

For example:

http://myserver:8080/ibi_apps/pmf


Using SLP For Any IBFS Folder

You can now navigate to any folder using SLP by using the following path:

WebFOCUS client name:port/ibi apps folder name/slp/IBFS folder name

where:

WebFOCUS client name

Is the name of your WebFOCUS client.

port

Is the port number.

ibi apps folder name

Is the name of your IBI apps folder.

IBFS folder name

Is the name of the IBFS folder you wish to use.

A typical web path would be:

http://server name:8080/ibi_apps/slp/reports

The following image shows a list of WebFOCUS reports in SLP.

WebFOCUS reports view

Information Builders