Configure for serialization session access
Configure session management of a Web container for serialization session access.
- Idenitfy the appserver id and assign it to the serverID variable:
set serverID [$AdminConfig getid /Cell:cname/Node:nname/Server:sname/]- Identify the session management belonging to the serverID and assign it to the smgr variable:
set smgr [$AdminConfig list SessionManager $serverID]- Set maximum wait time a servlet waits on a session before continuing execution:
$AdminConfig modify $smgr {{allowSerializedSessionAccess true} {maxWaitTime 20}}- Allow servlet execution to abort when the session request times out:
$AdminConfig modify $smgr {{allowSerializedSessionAccess true} {maxWaitTime 20} {accessSessionOnTimeout true}}- Save changes:
$AdminConfig save