Sun Java System Portal Server 7.1 Configuration Guide

ProcedureTo Configure Portlet Session Failover on Application Server 8.2

Before You Begin

The portal instances should be clustered and HADB should be installed.

  1. Undeploy the portal.war from the Application Server 8.2 DAS (administration server), and add the <distributable/> tag in the WEB-INF/web.xml of portal.war. Refer to the sample web.xml file displayed below:


    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
    " "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>Sun Java Enterprise System Portal Server Desktop Web Application</
    display-name>
    <description>Provides a user customizable interface for content that is aggregat
    ed from Portlet applications</description>
    <distributable/>
    <context-param>
    <param-name>desktop.configContextClassName</param-name>
    <param-value>com.sun.portal.desktop.context.PropertiesConfigContext</param-value>
  2. Add the same <distributable/> tag to the web.xml of the portlet.war which is used for storing session variable.

  3. Ensure that the Availability option is selected for both portal.war and the portlet.war files.

    1. Log in to administration console of Application Server.

    2. Click Web applications -> portal.

    3. Select the Availability option in the right panel.