Scenario
In some applications, it is necessary for two separate JVMs, or
Application Servers, to share common session information. By default, each
JVM uses a unique and separate session database.
Solution
Use the HttpSessionIDReuse JVM argument.
With WebSphere® Application Server V4.0.0 and V4.0.1, you must ensure
that PQ55940
is installed prior to making the changes described below.
Starting with V4.0.2 and subsequent releases, this fix is included.
Setting HttpSessionIdReuse JVM arguments from the Administrative
Console:
- Expand Nodes under WebSphere Administrative Domain.
- Expand Application Servers.
- Select the Application server (for example: Default Server).
- Select the JVM Settings.
- Click Add beside the table titled System Properties.
Specify Name as HttpSessionIdReuse and Value as true.
- Click Apply.
- Check Generated Command Line Arguments to ensure the changes
are reflected.
- Stop the Application Server.
- Restart the Application Server.
Repeat the above steps for each JVM that must have shared session
information. |