[Java programming language only]

Configuring WebSphere Application Server HTTP session persistence to a data grid

Configure your WebSphere® Application Server application to use the appliance for session management. You can either select the appliance when you are installing a new application, or you can update your existing application or server settings to use the appliance.

Before you begin

Before you change the configuration in WebSphere Application Server, you must have:
  • Access to the WebSphere Application Server cell that you want to configure.
  • The IP address or fully qualified host name of the appliance.
  • A user ID and password that you use to log in to the appliance user interface. To create a data grid, you must have data cache creation permissions.
  • WebSphere eXtreme Scale Client installed in your WebSphere Application Server configuration. For more information, see Installing WebSphere eXtreme Scale Client.
  • Global security that is enabled in the WebSphere Application Server administrative console. Enable global security if your appliance has transport layer security that is enabled, or you want to ensure that clients use transport layer security. For more information, see Configuring Transport Layer Security (TLS) for WebSphere Application Server.
  • (optional) Create a session data grid in the user interface. For more information, see Creating session data grids.

Procedure

Results

You configured HTTP session manager to persist the sessions to a data grid. Entries are removed from the data grid when the sessions time out. See Session management settings for more information about updating the session timeout value in the WebSphere Application Server administrative console.
If the entire data grid that is hosting the application session data is unreachable from the web container client, the client instead uses the base web container in WebSphere Application Server for session management. The data grid might be unreachable in the following scenarios:
  • A network problem between the Web container and the appliance.
  • The server processes on the appliance have been stopped.
The least recently used sessions are invalidated from the web container session cache. If the data grid on the appliance becomes available, sessions that were invalidated from the web container cache can retrieve data from the remote data grid and load the data into a new session. If the entire data grid on the appliance is not available and the session is invalidated from the session cache, the user session data is lost. Because of this issue, do not shut down entire production data grid when the system is running under load.
CAUTION:
When you configure this scenario, the security credentials for the IBM WebSphere DataPower XC10 Appliance are automatically stored in the WebSphere Application Server configuration. If you change the credentials for the data grid after the initial configuration, the WebSphere Application Server no longer has the correct credentials. You can reset the credentials by applying the eXtreme Scale session management settings again.

What to do next