samtet1434 / support-tools

Automatically exported from code.google.com/p/support-tools
Apache License 2.0
0 stars 0 forks source link

session attributes lost after node switch #171

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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: