Configuring a DB2 table for session persistence

Why and when to perform this task

If you are using DB2 for session persistence, a DB2 table, in which session data will be collected, must be created and defined to the application server, see Creating a DB2 table for session persistence, for more information.

To configure a DB2 table for collecting session data, use the administrative console to add the name of this DB2 table to the Web container's configuration properties:

Steps for this task

  1. Open the administrative console.
  2. Click Servers > Application Servers.
  3. Select a server from the list of application servers.
  4. Under Additional Properties, click Web Container.
  5. Under Additional Properties, click Custom Properties.
  6. Check SessionTableName and then click New.
  7. In the Value field, enter the name of the DB2 Session Table if you are not using the default value SESSION. The name must be in the form database_name.table_name. For example, if the database name is SESSDB and the table name is SESSIONS, enter SESSDB.SESSIONS for Value.Optionally, you can update the description of this table in the Description field. For example, you might enter "Table name for HTTP session data."
  8. Click Apply > Save.

Results

When the product is restarted, the Session Management facility creates the new SESSIONS table in the specified tablespace.

Related tasks
Configuring for database session persistence
Creating a DB2 table for session persistence



Searchable topic ID:   tprs_db2tzos_config
Last updated: Jun 21, 2007 9:56:50 PM CDT    WebSphere Application Server for z/OS, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.zseries.doc/info/zseries/ae/tprs_db2tzos_config.html

Library | Support | Terms of Use | Feedback