[JBoss JIRA] Created: (JBAS-6733) Avoid re-reading expired sessions from distributed cache
by Brian Stansberry (JIRA)
Avoid re-reading expired sessions from distributed cache
--------------------------------------------------------
Key: JBAS-6733
URL: https://jira.jboss.org/jira/browse/JBAS-6733
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public (Everyone can see)
Components: Clustering, Web (Tomcat) service
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Priority: Minor
Fix For: JBossAS-5.1.0.CR1
Add logic such that if we don't find a session locally, only check the distributed cache if we haven't previously handled this session id on this request. If we handled it previously but it's no longer local, that means it's been invalidated. If we request an invalidated session from the distributed cache, it will be missing from the local cache but may still exist on other nodes (i.e. if the invalidation hasn't replicated yet because we are running in a tx or with async repl). With buddy replication, asking the local cache for the session will cause the out-of-date session from the other nodes to be gravitated, thus resuscitating the session.
Previously releases had logic to deal with this, but only covered requests for the session that come before the code returns from ClusteredSessionValve. Such calls can happen after that, in particular StandardHostValve makes such a call.
Fix is to store info on invalidated sessions in a thread local, as was done previously, but to defer clearing the thread local until the Session.recycle method rather than doing it in the ClusteredSessionValve.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (JBAS-6734) Hot changes not updated in VFS server/tmp directory
by Jeff Wexler (JIRA)
Hot changes not updated in VFS server/tmp directory
---------------------------------------------------
Key: JBAS-6734
URL: https://jira.jboss.org/jira/browse/JBAS-6734
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: VFS
Affects Versions: JBossAS-5.0.1.GA
Environment: JBossAS 5.0.1.GA, Windows Server 2003, localhost:8080, seam 2.1.2.GA, Eclipse 3.4.2 with JbossTools 3.0.0.GA, PostgreSQL 8.3
Reporter: Jeff Wexler
Assignee: Ales Justin
Priority: Critical
Create a new seam project as an ear (or war) with Dynamic Seam 2.1. deployed to the default server of JBossAS.
Verify Welcome to Seam! message.
Change home.xhtml such that message is now Welcome to Seam_Modified1! and save.
Wait a number of seconds.
Verify that change updated in home.xhtml in the default server of JBossAS.
Refresh project/home.seam and you still get Welcome to Seam! rather than Welcome to Seam_Modified1!
Check again after an hour and still the old message.
Does not seem to update the tmp directory with the changed version unless you touch application.xml or redeploy the whole project.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months