To configure a table for collecting session data, you must add
the name of the table to the web container configuration properties.
About this task
If you are using database for session persistence, you must
create and define a database table to the application server to collect session
data.
To configure a table for collecting
session data, use the administrative console to add the name of this table
to the web container's configuration properties:
Procedure
- Open the administrative console.
- Click .
- Select a server from the list of application servers.
- Under Additional Properties, click Web Container.
- Under Additional Properties, click Custom properties.
- Click SessionTableName to configure the DB2® table, or
click New to create a new property.
- Specify 'SessionTableName' in the Name field if
you are creating a new property. In the Value field, enter the name
of the session table. The value must have the form, schema_name.table_name.
For example, if the schema name is DB2ADMIN and the table name is
SESSIONS, enter DB2ADMIN.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."
- Click Apply > Save.
Results
When the product is restarted, the session management facility creates
the new SESSIONS table in the specified tablespace.