PQ56134: IN COMPLIANCE MODE, THE UNIQUE INDEX USED FOR SESSIONS ONLY INCLUDES ID,PROPID. NEED TO ADD APPNAME TO AVOID DUPLICATE KEYS


APAR

APAR status
Closed as program error.

Error description
When running in compliance mode, the session manager is only
using ID (sessionid) and Propid (value of property in the
session object) to uniquely identify a session object. Since
Servlet 2.2 spec does not allow the sharing of sessions across
webapps, it is necessary to have one session object per webapp.
However, with our current implementation, this causes an error
for the customer. We need to add AppName (webapp name)to the
unique index in order to avoid Duplicate Key exceptions.
Local fix
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server - HTTPSession   *
*                 Users                                        *
****************************************************************
* PROBLEM DESCRIPTION: A unique index was being created on     *
*                      the sessions table in the compliance    *
*                      mode with id, propid as the index       *
*                      instead of using id, propid and         *
*                      appname as the index.                   *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
In the Compliance mode in a clustered environment if requests
were spread out across multiple webapps using a session object,
a duplicate key exception would be thrown by the database when
the second webapp tried to persist the session object to the
database.
Problem conclusion
In the compliance mode the unique index contains the
id, propid and the appname.
Temporary fix
PQ56134
Comments
APAR information
APAR numberPQ56134
Reported component nameWAS ADVANCED AI
Reported component ID5648C8400
Reported release350
StatusCLOSED PER
PENoPE
HIPERNoHIPER
Submitted date2001-12-20
Closed date2002-01-03
Last modified date2002-01-03

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:APAR is sysrouted FROM one or more of the following:


Modules/Macros
SESSION
APAR is sysrouted TO one or more of the following:Modules/Macros

Fix information
Fixed component nameWAS ADVANCED AI
Fixed component ID5648C8400

Applicable component levels
R350 PSYUP











Document Information

Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, General
Software version: 350
Reference #: PQ56134
IBM Group: Software Group
Modified date: 2002-01-03