Configuring database implemented session persistence for Derby

Provide database connection information for a WebSphere® Application Server HTTP session using Derby.

About this task

A WebSphere Application Server HTTP Session over the database does not support the use of Derby. Therefore you must supply connection information to configure database implemented session persistence for either a cluster or single server classic virtual system pattern. If you are using DB2®, then you can update the provided data source and session manager for each HVWebCluster server using the wasCBUpdateSessDSInfo.py script.

Procedure

  1. Use the wasCBUpdateSessDSInfo.py script.
    To configure database implemented session persistence, run the wasCBUpdateSessDSInfo.py script using the following parameters:
    • -dbHost <host name>
    • -dbPort <port number>
    • -dbUser <user ID>
    • -dbPassword <password of the database user>
  2. Ensure that this script is in the correct directory.
    After the classic virtual system pattern is deployed, ensure that this script is in the <WAS profile root>/bin/DeployerScripts folder.

Results

When you have run the wasCBUpdateSessDSInfo.py script, database implemented session persistence can be enabled.