[ http://jira.jboss.com/jira/browse/JBAS-60?page=history ]
Ben Wang resolved JBAS-60:
--------------------------
Resolution: Done
This has been fixed both in 4.0 and head. The WebSessionTestCase has also been
re-activated.
To fix this, a cache invalidation approach has been used. Now, session node
stores a version number (with key VERION_KEY) in addition to its session data.
JBossCacheService now subscribes to TreeCache event listener. Whenever a node
modification occurrs, if it is of fqn that stores the fqn (that is, if
VERSION_KEY is available), it will check this version against that of
in-memory. If this version is newer, it will mark the session isOutdated flag
to true.
Next time a session is retrieved (e.g., findSession), it will always check it
the im-memory data is outdated. If it is, it will retrieve it from the data
store and updated the im-memory data.
I will update the doc as well. Note this fix is not back-ported to 3.2 release.
> JBossCache based http session replication does not handle load balanced
> requests
> --------------------------------------------------------------------------------
>
> Key: JBAS-60
> URL: http://jira.jboss.com/jira/browse/JBAS-60
> Project: JBoss Application Server
> Type: Bug
> Versions: JBossAS-4.0.0 Final, JBossAS-4.0.1 Final
> Reporter: Scott M Stark
> Assignee: Ben Wang
> Fix For: JBossAS-4.0.2RC1
>
> Original Estimate: 1 week
> Remaining: 1 week
>
> The current http session replication on top of JBossCache does not handle a
> load balanced request scenario due to the fact that the associated session
> manager does not listen for node change events to know when to update the
> local session store. Either the session manager needs to be rewritten to not
> use a second level store of attributes, or the it needs to listen for the
> update events.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development