Lesson 5.2: Configuring a Liberty profile web application server to use eXtreme Scale for session replication

You can configure a web application server so that when the web server receives an HTTP request for session replication, the request is forwarded to the Liberty profile.

About this task

The Liberty profile does not include session replication. However, if you use WebSphere® eXtreme Scale with the Liberty profile, then you can replicate sessions. Therefore, if a server fails, then application users do not lose session data.

When you add the [Version 8.6 and later]webapp feature to the server definition and configure the session manager, you can use session replication in your eXtreme Scale applications that run in the Liberty profile.

Procedure

  1. [Version 8.6 and later] Enable the HTTP session feature in the Liberty profile.
  2. Configure a unique clone ID in the Liberty server.xml file.
  3. Generate and merge plug-in configuration files for deployment to the application server plug-in.

Results

Your eXtreme Scale applications that run in the Liberty profile are enabled for session replication.