Hi Remy,
that is true, but endAccess also decrement the accessCount as
STRICT_SERVLET_COMPLIANCE is true.
StandardSession.java L624
/**
* End the access.
*/
public void endAccess() {
isNew = false;
if (Globals.STRICT_SERVLET_COMPLIANCE) {
synchronized (lock) {
accessCount--;
}
}
}
DeltaSesison.java L663
public void endAccess() {
isNew = false;
if (Globals.STRICT_SERVLET_COMPLIANCE) {
synchronized (lock) {
accessCount--;
}
}
if(manager instanceof DeltaManager)
((DeltaManager)manager).registerSessionAtReplicationValve
(this);
}
DeltaManager then register the crossContext session.
regards
Peter
Am 20.06.2007 um 13:39 schrieb Remy Maucherat:
Peter Rossbach wrote:
Hi Remy,
you mean this fix is better?
This "recycle" method actually means "call endAccess on the
session" which should only occur if crossContext is true.
Rémy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]