1

There is a NLB ip which is mapped to five different servers. Each server has the same java application deployed on Tomcat5.5. Now, while trying to access the java application through NLB the application is opening alright but after a few clicks somehow the session is getting expired. What could be the issue and how can it be resolved?

Shivayan
  • 136
  • 1
  • 2
  • 13
  • Search for "session stickiness" - essentially you need to configure the load balancer so that requests that are part of the same session are directed to the same back-end server. – Ian Roberts Jun 10 '14 at 10:23
  • could you please divulge some more details.. What are the configurations required? – Shivayan Jun 10 '14 at 10:25
  • I've used various load balancers but not this particular one so while I know _what_ you need to do in principle you'll have to look up the _how_ for yourself. Seriously, google "session stickiness nlb" and you'll probably find the documentation you need. – Ian Roberts Jun 10 '14 at 10:47
  • I have been able to implement this successfully after reading the documentation provided by Tomcat. Thanks for your help! – Shivayan Jun 11 '14 at 04:36

0 Answers0