Configure for serialization session access

 


Configure session management of a Web container for serialization session access.

  1. Idenitfy the appserver id and assign it to the serverID variable:

    set serverID [$AdminConfig getid /Cell:cname/Node:nname/Server:sname/]

  2. Identify the session management belonging to the serverID and assign it to the smgr variable:

    set smgr [$AdminConfig list SessionManager $serverID]

  3. Set maximum wait time a servlet waits on a session before continuing execution:

    $AdminConfig modify $smgr {{allowSerializedSessionAccess true} {maxWaitTime 20}}

  4. Allow servlet execution to abort when the session request times out:

    $AdminConfig modify $smgr {{allowSerializedSessionAccess true} {maxWaitTime 20} {accessSessionOnTimeout true}}

  5. Save changes:

    $AdminConfig save