Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

session attributes lost after node switch #171

@GoogleCodeExporter

Description

@GoogleCodeExporter
Our Application:Flight Search Engine listing products based on search criterion 
like origin, destination
Environment:2 Tomcat 6.0.24  nodes (say tc1,tc2) balanced by a sticky apache 
load balancer
Context XML config :                     
<Manager className="de.javakaffee.web.msm.MemcachedBackupSessionManager"   
memcachedNodes="http://192.168.185.168:8091/pools"
memcachedProtocol="binary" operationTimeout="10000"  
sessionAttributeFilter="^(?!.*fareCatalogHandlerMap).*$" 
requestUriIgnorePattern=".*\.(ico|png|gif|jpg|css|js)$" 
username="SessionBucket"/>

What steps will reproduce the problem?
1. Perform a search in tc2 (node2)
2. BEFORE COMPLETION OF SEARCH in tc2 , disconnect tc2 from load balancer
3. Next action from the page will hit  tc1 but lead to session expiry due 
missing session attributes in tc1 ( please find the logs from tc1 attached)

Note : The issue will not happen if tc2 is disconnected AFTER COMPLETION OF 
SEARCH(Step2 above)

What is the expected output? What do you see instead?
session attributes should be retrieved correctly in tc2

Original issue reported on code.google.com by justmail...@gmail.com on 29 Dec 2015 at 12:14

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions