Enable Session Handling

The default Web Content Management session handling works by initiating a new Web Content Management session for each Web Content Management portlet instance that is on a page. This can cause performance issues if many users access a page containing a large number of Web Content Management portlets.

The following procedures enables a service that is used to keep track of valid sessions. The service will help ensure that only a single session will be active between the instance of Portal and Web Content Management for each user. The service will manage access to the pool of active sessions and queue the requests for sessions that are in the process of being established, but not stop requests for established sessions to other servers or with different credentials.

 

Enable Web Content Management Session Handling

Remove the *service.jar file ilwwcm-remoterenderingportlet.war contains a jar, ilwwcm-remoterenderingportlet-service.jar, that must be removed if the service is to be used. The jar is added to the class loader instead. It is important it does not appear in both places if the service is to be used.

  1. cd PortalServer/wcm/installableApps
  2. jar xvf ilwwcm-remoterenderingportlet.war
  3. mv ilwwcm-remoterenderingportlet-service.jar PortalServer/wcm/shared/app
  4. jar cvf ilwwcm-remoterenderingportlet.war
Create a new Shared Library

  1. Open the WebSphere Administration console.
  2. Go to Environment/Shared Library .
  3. Create a new shared library called WCMRemoteLib.
Add the library to the portal server Open the WebSphere Administration console and execute...

websphere portal | classloader | class loader | libraries | WCMRemotelib | Apply | OK | Save
Edit the Services.Properties file

  1. Edit...

    PortalServer/shared/app/config/services.properties
  2. Ensure the following Web Content Management session service line is included:

    # ValidationService
    com.ibm.wps.services.validation.ValidationService = com.ibm.wps.services.validation.ValidationServiceImpl

    # WCM session service
    com.ibm.workplace.wcm.service.contentserver.AbstractWCMSessionService = com.ibm.workplace.wcm.service.contentserver.WCMSessionService
    ############################################################
    # Transcoding Portal Support
Restart WebSphere Portal Restart WebSphere Portal. Review the SystemOut.log file to ensure the new service is running. This is located under:

 

How Web Content Management Session Handling Works

When a request is made for a session with Web Content Management for a defined credential vault slot and URL, the WCMSessionService checks to see if this session already exists. If so, this session will be used. If not, a new session will be created.

Parent topic: Install Web Content Management Portlets.


IBM Workplace Web Content Management - V5.1.0.1 -

 

Workplace Web Content Management is a trademark of the IBM Corporation in the United States, other countries, or both.

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.