Working with Load Balancer Timeouts

If session-stickiness is configured with a timeout on the Load Balancer, that timeout value must be higher than the PeopleSoft Inactivity Logout timeout configured in the current Web Profile.

Keep in mind the session cookie name format. The session-cookie name must not start with a digit (0-9) and must not contain dots.

Example of bad name for session-cookie: 11.12.13.14-80-PORTAL-JSESSIONID

Example of good name for session-cookie: FINTSTWEB-80-PORTAL-JSESSIONID

To configure session cookie name:

  1. Open a browser and access the WebSphere Administrative Console.

  2. Go to Enterprise Applications, and select the PeopleSoft application and select the Manage Modules link.

  3. Click on Portal.war.

  4. Click on Session Management under Additional properties.

  5. Make sure that the check box Override Session Management is enabled.

  6. Click the Enable cookies link.

  7. Set the cookie name.

    The recommended format is:

    <hostname>-<port>-PORTAL-PSJSESSIONID

    Example: PSTST-8080-PORTAL-PSJSESSIONID

    The default name of session-cookie is JSESSIONID.

  8. Re-start the WebSphere Server to make this change effective.

To configure the cookie domain:

  1. Open a browser and access the WebSphere Administrative Console.

  2. Go to Enterprise Applications, and select the PeopleSoft application and select Manage Modules link.

  3. Click on Portal.war.

  4. Click on Session Management under Additional properties.

  5. Make sure that the check box Override Session Management is enabled.

  6. Click Enable cookies link

  7. Enter the value in the Cookie domain field.

  8. Re-start the WebSphere Server to make this change effective.

The session cookie name is configured in weblogic.xml of the portal servlet (web application). This file can be found in the following directory: <PIA_HOME>/webserv/<DOMAIN-NAME>/applications/peoplesoft/PORTAL/WEB-INF

Locate the tag CookieName in weblogic.xml, as in the following example:

 <session-param> 
   <param-name>CookieName</param-name> 
   <param-value>PSTST-8080-PORTAL-PSJSESSIONID</param-value> 
   </session-param>

The name of session cookie is assigned in the tag <param value>. In this example, the session-cookie name is PSTST-8080-PORTAL-PSJSESSIONID.

Re-start the WebLogic Server to make this change effective.

Update the CookieDomain manually in weblogic.xml file, as in the following example:

<session-param> 
      <param-name> 
      CookieDomain 
      </param-name> 
      <param-value> 
      .company.com 
      </param-value> 
        

In this example, the value .company.com is the domain that will be assigned to the session-cookie.

Re-start the WebLogic Server to make this change effective.